Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUG8q-00073e-Ed for pgsql-committers@arkaria.postgresql.org; Thu, 19 Jan 2017 17:04:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cUG8p-00048l-RK for pgsql-committers@arkaria.postgresql.org; Thu, 19 Jan 2017 17:04:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cUG8c-0003tt-86 for pgsql-committers@postgresql.org; Thu, 19 Jan 2017 17:04:38 +0000 Received: from tamriel.snowman.net ([72.66.115.51]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUG8X-0000Le-Ek for pgsql-committers@postgresql.org; Thu, 19 Jan 2017 17:04:37 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id C92465F794; Thu, 19 Jan 2017 12:03:31 -0500 (EST) Date: Thu, 19 Jan 2017 12:03:31 -0500 From: Stephen Frost To: Tom Lane Cc: Peter Eisentraut , Amit Kapila , pgsql-committers Subject: Re: pgsql: Add function to import operating system collations Message-ID: <20170119170331.GU18360@tamriel.snowman.net> References: <13753.1484830411@sss.pgh.pa.us> <4700.1484844079@sss.pgh.pa.us> <20170119165406.GT18360@tamriel.snowman.net> <5356.1484845107@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6LJmZOW/XGr4HvhC" Content-Disposition: inline In-Reply-To: <5356.1484845107@sss.pgh.pa.us> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-91-generic (x86_64) X-Uptime: 12:02:47 up 194 days, 18:27, 2 users, load average: 0.27, 0.16, 0.14 User-Agent: Mutt/1.5.21 (2010-09-15) 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 --6LJmZOW/XGr4HvhC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Tom Lane (tgl@sss.pgh.pa.us) wrote: > 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(): >=20 > > 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. >=20 > Looks to me like including catalog/pg_authid.h in initdb would work fine. > pg_upgrade does it. Ah, alright then. I'm happy to let whomever make that change, or, if no one else wants to, I'll do it since I'm the author of those lines. Thanks! Stephen --6LJmZOW/XGr4HvhC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJYgPFjAAoJEO1sijiDR2RVg2UP/0/tQMFqpmgk7vmW5zpjZdd2 s88O2ony+rC1gIdF3VY6cEWT3Jo30MVoXXhUaomaP9VC5RYx7WNJisZ7bTCHHQjo YEqlpBGRorDys+RkYeLkHlJ6OvmnkUV+Uz6Af37sCKyUNdC8/EiaDOBP+WT9Sksa 3CquLv4Ik4+sYQS+h4sSSe9Op/R0L67i5Y2fv2yEBJjfOMsYpW/9qMdHrn/txmNK WlXqYNilmY9qi7G5uqrnZcit46QJVEP1+4Uwy/LUjr9r/aSMRtekt/Ya42rfIu/n SCJouotUEwybqhuynpBbwEYEnSwSuBuDv/GervEHr55NpJvsdXIxLIjWqiqlhQag 2QVPPjicD/ckrzqp+G3Efbxuiiq6ZrZ52E/r+KkVreeEOhkQN2Pxty8x7wOVLWqe YaXpo1eI/vi9k1n+IRQYM5Rq4ZeuYd6ruLietLBk/MCTfWVaxizeA+1rX7bTX0Qi mwP+yTY4Tt+eESHyWxb4DxEPs7A0FI86V8MrF++vGmx/BUP/dS7qJ8Jl2OCXVLOj roJQ9BgclmDScRKAVydcpzBSGSHAuG5sn/II0fLX4eWX5y6P6eTlYE/0nuEEtxa2 htiTf3cez/e2F705EpcOJfrkvHYaPpiVIIqsLDIVJ+6KK9UBIcdX82RYVIZ0HCpg FRRP8xXWN+zUJWH0hRFH =c2k7 -----END PGP SIGNATURE----- --6LJmZOW/XGr4HvhC--