pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Graham Vickrage <graham@gpmd.co.uk>
To: pgsql-sql@postgresql.org
Subject: Copy user privileges
Date: Tue, 12 Jul 2005 13:21:21 +0100
Message-ID: <013301c586dc$369ad110$0c67a8c0@gvickrage> (raw)

Hi All,

I have dumped a database with no data and restored it with a new db
name.

I want to keep all the privileges but assign them to a new user. 

What is the best way of doing this? Is it to alter the system tables
directly in which case which ones.

TIA,

Graham




view thread (4+ messages)  latest in thread

Message-ID: <013301c586dc$369ad110$0c67a8c0@gvickrage>
Permalink:  ../013301c586dc$369ad110$0c67a8c0@gvickrage/
Also on:    postgresql.org/message-id/013301c586dc$369ad110$0c67a8c0@gvickrage

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: graham@gpmd.co.uk
  Subject: Re: Copy user privileges
  In-Reply-To: <013301c586dc$369ad110$0c67a8c0@gvickrage>

* 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