Joe Conway <[EMAIL PROTECTED]> writes: > I know this causes problems for dumped and reloaded data.
Yup. > In MSSQL this > is gotten around by allowing the properties of the data type to be > altered, e.g. in MSSQL you can turn the IDENTITY property on or off Rather pointless if it can be turned off, wouldn't you say? What I would do if I wanted such a guarantee is to make insertions go through a view rule that prevents the serial column from being supplied directly. That's a general technique that applies to more than just serial columns, and it is also easy to control who has privileges to bypass the view. AFAICT this "IDENTITY" thingie is an extremely limited kluge. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly