Skip site navigation (1) Skip section navigation (2)

Re: pg_dump roles support

From: Benedek László <laci(at)benedekl(dot)tvnetwork(dot)hu>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, ibrar(dot)ahmad(at)gmail(dot)com
Subject: Re: pg_dump roles support
Date: 2008-11-13 23:31:04
Message-ID: 491CB8B8.3060706@benedekl.tvnetwork.hu (view raw or flat)
Thread:
Lists: pgsql-hackers
On 2008-11-08 09:25, Benedek László wrote:
>> Does this work if the role name contains a ' ?
>
> Right, this one fails with ' in the role name. An update coming soon 
> closing this issue.
>
Here is an updated patch, which deals with 's in the rolename.
Please review.

  doc/src/sgml/ref/pg_dump.sgml        |   16 +++++++++
  doc/src/sgml/ref/pg_dumpall.sgml     |   15 ++++++++
  src/bin/pg_dump/pg_backup.h          |    2 +
  src/bin/pg_dump/pg_backup_archiver.c |   35 ++++++++++++++++++-
  src/bin/pg_dump/pg_dump.c            |   60 
+++++++++++++++++++++++++++++++++-
  src/bin/pg_dump/pg_dumpall.c         |   23 +++++++++++++
  6 files changed, 148 insertions(+), 3 deletions(-)

Thank you, regards

Benedek Laszlo


Attachment: pg_dump_role.patch
Description: text/x-patch (11.1 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Joshua D. DrakeDate: 2008-11-13 23:53:37
Subject: Re: Simple postgresql.conf wizard
Previous:From: Tom LaneDate: 2008-11-13 23:12:00
Subject: Re: array_agg and array_accum (patch)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group