Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W1i6U-0001t2-Me for pgsql-bugs@arkaria.postgresql.org; Fri, 10 Jan 2014 19:50:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W1i6U-0001bK-5X for pgsql-bugs@arkaria.postgresql.org; Fri, 10 Jan 2014 19:50:50 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W1i6S-0001ZT-CF for pgsql-bugs@postgresql.org; Fri, 10 Jan 2014 19:50:48 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W1i6P-00015s-Qd for pgsql-bugs@postgresql.org; Fri, 10 Jan 2014 19:50:47 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1W1i6L-0007DX-QM; Fri, 10 Jan 2014 14:50:41 -0500 Date: Fri, 10 Jan 2014 14:50:41 -0500 From: Bruce Momjian To: Alvaro Herrera Cc: Peter Eisentraut , Tom Lane , nicolas@marchildon.net, Bugs for PostgreSQL Subject: Re: BUG #8139: initdb: Misleading error message when current user not in /etc/passwd Message-ID: <20140110195041.GF4873@momjian.us> References: <296.1367950228@sss.pgh.pa.us> <20130507181904.GA26800@eldon.alvh.no-ip.org> <20131204155257.GD17114@momjian.us> <20131204190338.GP5158@eldon.alvh.no-ip.org> <20131209210532.GA2119@momjian.us> <20131209214539.GL6777@eldon.alvh.no-ip.org> <20131210004734.GE2119@momjian.us> <52B46663.1090202@gmx.net> <20140107044132.GC30539@momjian.us> <20140107214013.GG6840@eldon.alvh.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140107214013.GG6840@eldon.alvh.no-ip.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Tue, Jan 7, 2014 at 06:40:14PM -0300, Alvaro Herrera wrote: > Bruce Momjian wrote: > > On Fri, Dec 20, 2013 at 10:46:43AM -0500, Peter Eisentraut wrote: > > > On 12/9/13, 7:47 PM, Bruce Momjian wrote: > > > >> Not clear whether the new file should be in src/port or src/common. > > > > Agreed. It isn't designed to add missing OS functionality, but it is > > > > mostly OS-specific code. > > > > > > It's not for portability, though, is it? > > > > Well, neither is sprompt.c, but that has a lot of port-specific code in > > it, so I used that as a guide. > > src/common was created much later than sprompt.c was written. I would > have thought that the consideration would have been that sprompt.c > should eventually be moved to src/common; not that it would serve as a > precedent for anything. Are we not moving items over to common where appropriate? Are we worried about bring external applications? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs