Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

feature suggestion: sequence wizard



It would be nice to automate the conversion of an integer in a table to a
"serial".

Apparently SQL Server is able to pull this off.

The steps required would be to:
  * automagically create a new sequence
  * set default value of the desired field to nextval(new sequence)
  * set the value of the sequence to max(field)

As far as GUI is concerned, you'd want the user to be able to select the
schema --> table --> field name and the wizard would do the rest.

Best regards,

Bill Eaton, Ph.D.
Senior Engineer
AeroAntenna
mailto://ee2(at)aeroantenna(dot)com
tel: (818)993-3842






Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group