Addition to: Trouble with initdb when the #define NAMEDATALEN = 51 - Mailing list pgsql-hackers

From G. Anthony Reina
Subject Addition to: Trouble with initdb when the #define NAMEDATALEN = 51
Date
Msg-id 3AFC7BBB.70B4D55F@nsi.edu
Whole thread Raw
Responses Re: Addition to: Trouble with initdb when the #define NAMEDATALEN = 51  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Sorry, I forgot to include that I'm compiling this on RedHat 6.2,
Pentium III with Postgres 7.1.1.

-Tony



> I'm not sure if this is still needed in postgres to define the length of
> a variable/table name.
>
> In postgres_ext.h, I changed:
>
> #define NAMEDATALEN 32
> to
> #define NAMEDATALEN 51
>
> Everything compiled and installed. However, the initdb started up but
> then just said that it failed.
>
> I did a gmake clean and changed the 51 back to 32 and everything went
> through correctly (make, install, and initdb). Can anyone else verify if
> this is correct or even makes sense?
>
> Thanks.
> -Tony
>
>



pgsql-hackers by date:

Previous
From: "G. Anthony Reina"
Date:
Subject: Installation on SGI IRIX 6.5.10
Next
From: Rachit Siamwalla
Date:
Subject: inserts on a transaction blocking other inserts