pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: warrior2031@mail.ru
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12670: Can't create postgis extension in single-user mode
Date: Wed, 28 Jan 2015 09:16:23 +0200
Message-ID: <54C88CC7.7030204@vmware.com> (raw)
In-Reply-To: <4086.1422409796@sss.pgh.pa.us>
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (9+ messages)  latest in thread

Message-ID: <54C88CC7.7030204@vmware.com>
Permalink:  ../54C88CC7.7030204@vmware.com/
Also on:    postgresql.org/message-id/54C88CC7.7030204@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: hlinnakangas@vmware.com, tgl@sss.pgh.pa.us, andrew@tao11.riddles.org.uk, warrior2031@mail.ru
  Subject: Re: BUG #12670: Can't create postgis extension in single-user mode
  In-Reply-To: <54C88CC7.7030204@vmware.com>
  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> <54C88CC7.7030204@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox