Re: system catalog relation of a table and a serial sequence

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brent Verner <brent(at)rcfile(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: system catalog relation of a table and a serial sequence
Date: 2001-12-16 02:02:27
Message-ID: 11531.1008468147@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Brent Verner <brent(at)rcfile(dot)org> writes:
> I'm aware that this is not the /best/ solution to this problem, but
> it is better than the current breakage in pg_dump.

I'd dispute that, primarily because the patch blithely assumes that
there is no other kind of default value than a serial-created nextval().
It looks to me like it will either coredump or do the wrong thing
with other default-value strings.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Brent Verner 2001-12-16 02:10:05 Re: system catalog relation of a table and a serial sequence
Previous Message Brent Verner 2001-12-16 01:33:50 Re: system catalog relation of a table and a serial sequence

Browse pgsql-patches by date

  From Date Subject
Next Message Brent Verner 2001-12-16 02:10:05 Re: system catalog relation of a table and a serial sequence
Previous Message Brent Verner 2001-12-16 01:33:50 Re: system catalog relation of a table and a serial sequence