Re: Initdb failure with PG 7.1.3 on RH 7.1...

From: Paul Stavrides <pstav123(at)adelie(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Initdb failure with PG 7.1.3 on RH 7.1...
Date: 2001-11-30 19:16:57
Message-ID: 3C07DB29.1050808@adelie.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:

>Ah-hah.
>
Ok we're fixed.

My crime was using a 'c' comment to keep track of the changes I made in
the postgress_ext.h file:

DON'T DO THIS:

/*
* NAMEDATALEN is the max length for system identifiers (e.g. table names,
* attribute names, function names, etc.)
*
* NOTE that databases with different NAMEDATALEN's cannot interoperate!
*/
/* #define NAMEDATALEN 32 */

#define NAMEDATALEN 100

#endif

The post-processing of this file in genbki.sh will fail and not stop the
build process. I am not an sh/sed naive but I think one of the sed
commands needs an if <clause> fi || exit type mod to keep this happening
in the future.

It may be enough to document that it can happen.

Thanks for your help,

-paul

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-11-30 19:36:14 Re: Initdb failure with PG 7.1.3 on RH 7.1...
Previous Message Paul Stavrides 2001-11-30 18:54:24 Re: Initdb failure with PG 7.1.3 on RH 7.1...