Re: pg_dump - option for just dumping sequences?

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Justin Clift <jc(at)telstra(dot)net>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump - option for just dumping sequences?
Date: 2004-07-16 04:58:30
Message-ID: 40F76076.5020809@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Does anyone else think it would be a useful thing adding an option to
> pg_dump for outputting just the sequences?
>
> Or perhaps there's an easy way of doing this I just haven't thought of?

Can't you just grep the output for pg_catalog.setval and SET SESSION
AUTHORIZATION?

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-07-16 05:03:19 Re: [HACKERS] Weird new time zone
Previous Message Tom Lane 2004-07-16 04:55:10 Re: Converting epoch to timestamp