Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUK8Y-0003o9-2U for pgsql-committers@arkaria.postgresql.org; Thu, 19 Jan 2017 21:20: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 1cUK8X-00038a-Le for pgsql-committers@arkaria.postgresql.org; Thu, 19 Jan 2017 21:20: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 1cUK8J-0002dI-Me for pgsql-committers@postgresql.org; Thu, 19 Jan 2017 21:20:35 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cUK8C-00054P-OP for pgsql-committers@postgresql.org; Thu, 19 Jan 2017 21:20:34 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 14DC92070B; Thu, 19 Jan 2017 16:20:28 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Thu, 19 Jan 2017 16:20:28 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=K8pN8X1+kvPgNqVimcraa7IITxU=; b=O3PVd0c54/P9LsYZaZTY ulc9t7g+28svDk+JRFBpBt/9iZnaYPnQ46nMcpOuS6KD5RSrhj+mmz971OsU6MSD +BBivkFQF53MKV1y46p6sq8E+eFFV0qAUToO8AGUkZeNlaGi5Q4GEVh1xlNUxell tKC53QFiVfejAU4kbNo8Fhs= X-ME-Sender: X-Sasl-enc: uyFdcyopRuibg+eEZq95RpsYLDyrLONuhrANjlNqHofY 1484860827 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id D3ABA7E9F4; Thu, 19 Jan 2017 16:20:27 -0500 (EST) Subject: Re: pgsql: Add function to import operating system collations To: Tom Lane , Stephen Frost References: <13753.1484830411@sss.pgh.pa.us> <4700.1484844079@sss.pgh.pa.us> <20170119165406.GT18360@tamriel.snowman.net> <5356.1484845107@sss.pgh.pa.us> Cc: Amit Kapila , pgsql-committers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Thu, 19 Jan 2017 16:20:27 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <5356.1484845107@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 On 1/19/17 11:58 AM, Tom Lane 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(): > >> 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. I have fixed that together with Amit's issue. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers