pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Add function to import operating system collations
Date: Thu, 19 Jan 2017 11:58:27 -0500
Message-ID: <5356.1484845107@sss.pgh.pa.us> (raw)
In-Reply-To: <20170119165406.GT18360@tamriel.snowman.net>
References: <E1cTrLM-0008E8-6K@gemulon.postgresql.org>
	<CAA4eK1+z2ZwNvXMsfK-nTD5HeZqm6pLoXR7mXH_dVcbOoNYwDA@mail.gmail.com>
	<13753.1484830411@sss.pgh.pa.us>
	<dfd34b03-911b-adad-57f9-42833bb15610@2ndquadrant.com>
	<4700.1484844079@sss.pgh.pa.us>
	<20170119165406.GT18360@tamriel.snowman.net>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (24+ messages)  latest in thread

Message-ID: <5356.1484845107@sss.pgh.pa.us>
Permalink:  ../5356.1484845107@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5356.1484845107@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sfrost@snowman.net, peter.eisentraut@2ndquadrant.com, amit.kapila16@gmail.com
  Subject: Re: pgsql: Add function to import operating system collations
  In-Reply-To: <5356.1484845107@sss.pgh.pa.us>
  References: <E1cTrLM-0008E8-6K@gemulon.postgresql.org> <CAA4eK1+z2ZwNvXMsfK-nTD5HeZqm6pLoXR7mXH_dVcbOoNYwDA@mail.gmail.com> <13753.1484830411@sss.pgh.pa.us> <dfd34b03-911b-adad-57f9-42833bb15610@2ndquadrant.com> <4700.1484844079@sss.pgh.pa.us> <20170119165406.GT18360@tamriel.snowman.net> <5356.1484845107@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox