Serial Data Type - Mailing list pgsql-hackers

From David Hartwig
Subject Serial Data Type
Date
Msg-id 35F981B5.474AD191@insightdist.com
Whole thread Raw
Responses Re: [HACKERS] Serial Data Type
List pgsql-hackers
I have a couple minor issues  regarding the 6.4 implementation of the
SERIAL data type.    I like the ease of using the serial data type and I
suspect it will be used frequently base on the number of inquiries over
the past months.

1. Should the sequence created by the serial type declaration, be
dropped as a result of dropping the parent table?

2.  Can a declared serial column be also a primary key?   If so, what
will be the side effected?   Specifically, how will the unique index be
named?   The ODBC driver uses the {relname}_pkey to identify the primary
key of a table.  The driver must be able to identify primary keys.

Comments?


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] High level description of postgres
Next
From: "Billy G. Allie"
Date:
Subject: postgreSQL 6.4 patches.