Allow dumping of roles or tablespaces

From: Dave Page <dpage(at)postgresql(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Subject: Allow dumping of roles or tablespaces
Date: 2007-01-12 14:08:49
Message-ID: 45A79671.9080605@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Per discussion on -hackers, the attached patch introduces an optional
parameter to pg_dumpall's -g (--globals-only) option to allow roles or
tablespaces to be dumped on their own.

eg.

pg_dumpall -g -- Dump roles and tablespaces per current behaviour
pg_dumpall -gr -- Dump roles only (or users and groups)
pg_dumpall -gt -- Dump tablespaces only

Regards, Dave.

Attachment Content-Type Size
pg_dumpall_global_objects.diff text/plain 5.9 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-01-12 14:16:23 Re: Corrupt database? 8.1/FreeBSD6.0
Previous Message Alvaro Herrera 2007-01-12 13:55:52 Re: Corrupt database? 8.1/FreeBSD6.0