Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YGuR1-0003cv-Fr for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Jan 2015 19:07:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YGuR0-0001iB-Vf for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Jan 2015 19:07:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YGuQz-0001fX-Cg for pgsql-bugs@postgresql.org; Thu, 29 Jan 2015 19:07:21 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YGuQw-0001ZI-9W for pgsql-bugs@postgresql.org; Thu, 29 Jan 2015 19:07:19 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1YGuQq-000399-0m; Thu, 29 Jan 2015 14:07:12 -0500 Date: Thu, 29 Jan 2015 14:07:12 -0500 From: Bruce Momjian To: Andres Freund Cc: Andrew Gierth , Tom Lane , warrior2031@mail.ru, pgsql-bugs@postgresql.org Subject: Re: BUG #12670: Can't create postgis extension in single-user mode Message-ID: <20150129190712.GB7402@momjian.us> References: <20150126124133.19763.60605@wrigleys.postgresql.org> <29161.1422337002@sss.pgh.pa.us> <87zj93agba.fsf@news-spur.riddles.org.uk> <20150128152603.GC6325@awork2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150128152603.GC6325@awork2.anarazel.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) 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 Wed, Jan 28, 2015 at 04:26:03PM +0100, Andres Freund wrote: > On 2015-01-28 01:05:20 +0000, Andrew Gierth wrote: > > >>>>> "Tom" == Tom Lane writes: > > > > >> [ Can't create postgis extension in single-user mode ] > > > > Tom> Why in the world would you think that's a good thing to do? > > > > The context, for what it's worth, is setting up docker containers, so > > there's a reasonable desire to be able to do some basic database setup > > before starting any listener. > > Well, that's about as easily done using a nonstandard/private socket > directory. Has the advantage of being able to use a sane client, useful > error handling, performance ... Yes, that's what pg_upgrade does. Windows doesn't have sockets, which limits that option for general use. -- 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