Thread: Trouble with initdb when the #define NAMEDATALEN = 51

Trouble with initdb when the #define NAMEDATALEN = 51

From
"G. Anthony Reina"
Date:
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