pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathandbossart@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: adam@labkey.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails
Date: Fri, 22 Nov 2024 14:06:23 -0600
Message-ID: <Z0DkP-FzdyT0dQ9z@nathan> (raw)
In-Reply-To: <Z0DjJbJV4ZWkLuQd@nathan>
References: <Zz9FRrwJRlyGBFPN@ip-10-97-1-34.eu-west-3.compute.internal>
	<Zz9IHPBf-z8MsLdw@momjian.us>
	<Zz9OTyWAvATeeHev@nathan>
	<Zz9jfOkVmlYcYHSy@momjian.us>
	<Zz9pOi3pGF-DnJTp@nathan>
	<Zz92cka2VlBDsat3@momjian.us>
	<Zz94l3LHsML0V9eu@nathan>
	<Z0A2o+dS0MqDE2Fs@ip-10-97-1-34.eu-west-3.compute.internal>
	<659706.1732303427@sss.pgh.pa.us>
	<Z0DjJbJV4ZWkLuQd@nathan>

On Fri, Nov 22, 2024 at 02:01:41PM -0600, Nathan Bossart wrote:
>  static HeapTuple
>  GetDatabaseTuple(const char *dbname)
>  {
>  	HeapTuple	tuple;
>  	Relation	relation;
> +	char		tname[NAMEDATALEN];

(tuple should be initialized to NULL here.  I accidentally left that out.)

-- 
nathan





view thread (67+ messages)  latest in thread

Message-ID: <Z0DkP-FzdyT0dQ9z@nathan>
Permalink:  ../Z0DkP-FzdyT0dQ9z@nathan/
Also on:    postgresql.org/message-id/Z0DkP-FzdyT0dQ9z@nathan

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: nathandbossart@gmail.com, tgl@sss.pgh.pa.us, bertranddrouvot.pg@gmail.com, bruce@momjian.us, adam@labkey.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails
  In-Reply-To: <Z0DkP-FzdyT0dQ9z@nathan>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox