Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUG30-0006gi-8V for pgsql-committers@arkaria.postgresql.org; Thu, 19 Jan 2017 16:58:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cUG2z-0001Qr-H1 for pgsql-committers@arkaria.postgresql.org; Thu, 19 Jan 2017 16:58:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cUG2l-0001Bu-Ks for pgsql-committers@postgresql.org; Thu, 19 Jan 2017 16:58:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cUG2i-0007q5-U9 for pgsql-committers@postgresql.org; Thu, 19 Jan 2017 16:58:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v0JGwREx005357; Thu, 19 Jan 2017 11:58:27 -0500 From: Tom Lane To: Stephen Frost cc: Peter Eisentraut , Amit Kapila , pgsql-committers Subject: Re: pgsql: Add function to import operating system collations In-reply-to: <20170119165406.GT18360@tamriel.snowman.net> References: <13753.1484830411@sss.pgh.pa.us> <4700.1484844079@sss.pgh.pa.us> <20170119165406.GT18360@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Thu, 19 Jan 2017 11:54:07 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5355.1484845107.1@sss.pgh.pa.us> Date: Thu, 19 Jan 2017 11:58:27 -0500 Message-ID: <5356.1484845107@sss.pgh.pa.us> X-Pg-Spam-Score: -5.1 (-----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Stephen Frost 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