Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YGMuJ-0000qD-8S for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Jan 2015 07:19:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YGMuI-0002Un-Nr for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Jan 2015 07:19:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YGMuH-0002SD-Q9 for pgsql-bugs@postgresql.org; Wed, 28 Jan 2015 07:19:21 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YGMuC-00049r-4r for pgsql-bugs@postgresql.org; Wed, 28 Jan 2015 07:19:19 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id A793C28FA4; Tue, 27 Jan 2015 23:19:11 -0800 (PST) Received: from EX13-CAS-004.vmware.com (EX13-CAS-004.vmware.com [10.113.191.54]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id A2E34B0D9B; Tue, 27 Jan 2015 23:19:11 -0800 (PST) Received: from [192.168.1.90] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.913.22; Tue, 27 Jan 2015 23:19:02 -0800 Message-ID: <54C88CC7.7030204@vmware.com> Date: Wed, 28 Jan 2015 09:16:23 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 MIME-Version: 1.0 To: Tom Lane , Andrew Gierth CC: , Subject: Re: BUG #12670: Can't create postgis extension in single-user mode References: <20150126124133.19763.60605@wrigleys.postgresql.org> <29161.1422337002@sss.pgh.pa.us> <87zj93agba.fsf@news-spur.riddles.org.uk> <4086.1422409796@sss.pgh.pa.us> In-Reply-To: <4086.1422409796@sss.pgh.pa.us> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.113.160.246] X-ClientProxiedBy: EX13-CAS-013.vmware.com (10.113.191.65) To EX13-MBX-024.vmware.com (10.113.191.44) X-Pg-Spam-Score: -6.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 01/28/2015 03:49 AM, Tom Lane wrote: > Now, I'll agree that if you just intend to install a couple of simple > extensions, you might be able to get away with doing that much without > any background support processes. But it's not a mode meant for > routine activity. And I rather wonder why you need to install > extensions in that way anyway. Using the single-user mode for installing extensions etc. is a sensible idea; or was if it worked. It'd be nice to run initdb, install extensions, even load data etc. all in single-user mode, before opening up the cluster for connections. Sure, you can hack pg_hba.conf / postgresql.conf to keep the real users away until you're done with the setup, but it's more hassle than just using the single-user mode. We had discussions some time ago about teaching the backend to speak the regular FE/BE protocol in single-user mode, and having libpq "connect" to that. That would still be nice... - Heikki -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs