Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, adam(at)labkey(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails
Date: 2024-11-22 20:06:23
Message-ID: Z0DkP-FzdyT0dQ9z@nathan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2024-11-22 20:07:46 Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails
Previous Message Nathan Bossart 2024-11-22 20:01:41 Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails