ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | September 2000 Index

<--  Date Index  --> <--  Thread Index  -->

Re: Enhydra: DODS/PostgreSQL and the serial datatype


Hi Nathan, Eric,

It should be working the following way: Just set the value of your
serial column to null before inserting. The serial column is only
incremented by the database, when you omit the new value (By the way:
Informix does it this way, and it is the same with all "default values"
of databases e. g. AUTOINCREMENT of MySql).


MfG Dietmar

#---------------------------------------------------------------#
Dietmar Glachs
Salzburg Research Gesellschaft m.b.H
Jakob-Haringer-Straße 5/III
A-5020  Salzburg
Tel: +43/662/2288
Fax: +43/662/2288-222
Mailto: dietmar.glachs@xxxxxxxxxxxxxxxxxxx
#---------------------------------------------------------------#

-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@xxxxxxxxxxx
with the text "unsubscribe enhydra" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-enhydra@xxxxxxxxxxxx




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.