pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Luís Sousa <llsousa@ualg.pt>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: SET SESSION AUTHORIZATION permissions
Date: Mon, 04 Sep 2006 12:14:30 +0100
Message-ID: <44FC0A96.30406@ualg.pt> (raw)

Hi all,

I'm using PostgreSQL 7.4.7-6sarge2 (debian).

Only superuser can issue the command SET SESSION AUTHORIZATION?
Suppose this, I have created all tables in one database with a 
privileged user. On my ident config I putted that user so in interactive 
session is so simple as \c - <privileged user> to connect with that user.
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!
Except running the script as superuser and giving superuser privileges 
to my user, what can I do on command line so that SET SESSION 
AUTHORIZATION doesn't fail?

Best regards,
Luís Sousa








view thread (2+ messages)  latest in thread

Message-ID: <44FC0A96.30406@ualg.pt>
Permalink:  ../44FC0A96.30406@ualg.pt/
Also on:    postgresql.org/message-id/44FC0A96.30406@ualg.pt

 · 

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: llsousa@ualg.pt
  Subject: Re: SET SESSION AUTHORIZATION permissions
  In-Reply-To: <44FC0A96.30406@ualg.pt>
  References: <44FC0A96.30406@ualg.pt>

* 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