pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_restore and permissions
Date: Thu, 25 Apr 2002 14:58:06 -0400
Message-ID: <4757.1019761086@sss.pgh.pa.us> (raw)
In-Reply-To: <87d6wnu1ue.fsf@CERT.Uni-Stuttgart.DE>
References: <200204251616.g3PGGMN24174@candle.pha.pa.us>
	<3181.1019755236@sss.pgh.pa.us>
	<87d6wnu1ue.fsf@CERT.Uni-Stuttgart.DE>

Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> SET SESSION AUTHORIZATION should have been used instead, but I doubt
>> Florian has any convenient way to re-do the dump file with that option.

> Fortunately, I can re-do the dump (I'm eager to become a professional
> with a production and a testing machine ;-).

Oh, in that case you can use
	pg_dump -X use-set-session-authorization

> But SET SESSION AUTHORIZATION does not seem to be available in 7.2.1,
> yet 7.1.3.

I do not think 7.1's pg_dump had this option, but you can run 7.2's
pg_dump against the 7.1 server (in fact that is probably preferable
anyhow).

I would like to see use-set-session-authorization become the default
before 7.3 release, but haven't got around to doing anything about it.

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <4757.1019761086@sss.pgh.pa.us>
Permalink:  ../4757.1019761086@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4757.1019761086@sss.pgh.pa.us

 · 

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Weimer@CERT.Uni-Stuttgart.DE, pgman@candle.pha.pa.us
  Subject: Re: pg_restore and permissions
  In-Reply-To: <4757.1019761086@sss.pgh.pa.us>
  References: <200204251616.g3PGGMN24174@candle.pha.pa.us> <3181.1019755236@sss.pgh.pa.us> <87d6wnu1ue.fsf@CERT.Uni-Stuttgart.DE> <4757.1019761086@sss.pgh.pa.us>

* 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