Re: pg_dump - option for just dumping sequences? - Mailing list pgsql-hackers

From Justin Clift
Subject Re: pg_dump - option for just dumping sequences?
Date
Msg-id 40F7643E.3070805@telstra.net
Whole thread Raw
In response to Re: pg_dump - option for just dumping sequences?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
Christopher Kings-Lynne wrote:
>> 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?

Arrrgh, yep.

Thanks Chris, I must be in space cadet mode today.  :(

Regards and best wishes,

Justin Clift


> Chris





pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: Converting epoch to timestamp
Next
From: Tom Lane
Date:
Subject: Re: Converting epoch to timestamp