Re: [COMMITTERS] pgsql: Add function to import operating system collations - Mailing list pgsql-committers

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Add function to import operating system collations
Date
Msg-id 5356.1484845107@sss.pgh.pa.us
Whole thread Raw
In response to [COMMITTERS] pgsql: Add function to import operating system collations  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [COMMITTERS] pgsql: Add function to import operating systemcollations
Re: [COMMITTERS] pgsql: Add function to import operating systemcollations
List pgsql-committers
Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> WFM.  Btw, I noticed that BOOTSTRAP_SUPERUSERID is hard-coded as "10"
>> in this bit in setup_privileges():

> Hm.  I seem to recall trying to avoid having the hard-coded value there
> but we don't have BOOTSTRAP_SUPERUSERID defined somewhere that initdb.c
> could include it from, do we?  It's only in catalog/pg_authid.h.

Looks to me like including catalog/pg_authid.h in initdb would work fine.
pg_upgrade does it.

            regards, tom lane


pgsql-committers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [COMMITTERS] pgsql: Add function to import operating systemcollations
Next
From: Stephen Frost
Date:
Subject: Re: [COMMITTERS] pgsql: Add function to import operating systemcollations