Re: [HACKERS] pg_dump - option for just dumping sequences?

2004-07-15 Thread Christopher Kings-Lynne
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
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [HACKERS] pg_dump - option for just dumping sequences?

2004-07-15 Thread Justin Clift
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


---(end of broadcast)---
TIP 6: Have you searched our list archives?
  http://archives.postgresql.org