Re: [BUGS] BUG #2588: rename table and dump bug

2006-08-26 Thread Evgeny Gridasov
So why then when I rename a table, pg_dump prints out the renamed table and renamed sequence, but the database has only table renamed and the original sequence?? The reason I'm asking this is because after some table renaming I've got: in database: table1 with sequence1, table2 with sequence2 in

Re: [BUGS] BUG #2588: rename table and dump bug

2006-08-25 Thread Tom Lane
"Evgeny Gridasov" <[EMAIL PROTECTED]> writes: > Is it a pg_dump bug or 'ALTER TABLE xxx RENAME TO xxx' does not rename the > corresponding sequences? ALTER TABLE doesn't (and shouldn't IMHO) rename the sequence. See http://archives.postgresql.org/pgsql-hackers/2006-08/msg01250.php

[BUGS] BUG #2588: rename table and dump bug

2006-08-25 Thread Evgeny Gridasov
The following bug has been logged online: Bug reference: 2588 Logged by: Evgeny Gridasov Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1.4-cvs Operating system: linux debian Description:rename table and dump bug Details: test=# create table tseq1(id serial)