From: Tom Lane <tgl@sss.pgh.pa.us>
To: Luís Sousa <llsousa@ualg.pt>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: SET SESSION AUTHORIZATION permissions
Date: Mon, 04 Sep 2006 11:18:23 -0400
Message-ID: <24366.1157383103@sss.pgh.pa.us> (raw)
In-Reply-To: <44FC0A96.30406@ualg.pt>
References: <44FC0A96.30406@ualg.pt>
=?ISO-8859-1?Q?Lu=EDs_Sousa?= <llsousa@ualg.pt> writes:
> Only superuser can issue the command SET SESSION AUTHORIZATION?
Well, yeah.
> When I tried to dump and the restore on command line with my user, is
> issued a SET SESSION AUTHORIZATION with a permission denied error!
Use --no-owner if you want to make pg_dump output that won't generate
this error (and want all the restored objects to be owned by whoever
runs the script). Or just ignore the error messages.
regards, tom lane
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, llsousa@ualg.pt
Subject: Re: SET SESSION AUTHORIZATION permissions
In-Reply-To: <24366.1157383103@sss.pgh.pa.us>
References: <44FC0A96.30406@ualg.pt> <24366.1157383103@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