Dump serials as serial

From: Rod Taylor <rbt(at)zort(dot)ca>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Dump serials as serial
Date: 2002-08-10 20:51:24
Message-ID: 1029012685.553.15.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I intend to make 'serial' and 'serial8' domains of the int4 and int8
datatypes. Now they're regular types and columns in \d will be marked
as such. This leaves analyze.c to create the defaults but no longer
will it be doing any datatype conversions.

pg_dump and psql will be taught to ignore the default of 'serial' and
'serial8' datatypes. Perhaps a 'system_generated' flag on pg_attrdef
would be more appropriate?

We'd also be going with the assumption in pg_dump that a sequence name
will be generated the same way in future versions (see prior discussion
in hackers).

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Elphick 2002-08-10 21:20:37 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Previous Message Bruce Momjian 2002-08-10 20:46:38 Re: contrib/ltree, pls, apply patch