autoupdate sequences after copy - Mailing list pgsql-general

From CSN
Subject autoupdate sequences after copy
Date
Msg-id 20031009071002.74857.qmail@web40605.mail.yahoo.com
Whole thread Raw
Responses Re: autoupdate sequences after copy
suggestions for tracking down syntax errors?
List pgsql-general
Is there a way to have p/k sequences get automatically
set to max(id)+1 after COPY's like the following?

copy table1 (id,name) from stdin;
1 abc
2 def
3 fhi
\.


CSN

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

pgsql-general by date:

Previous
From: Shridhar Daithankar
Date:
Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing)
Next
From: CSN
Date:
Subject: int1?