gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] currval() is transaction-safe !!


From: Karsten Hilbert
Subject: [Gnumed-devel] currval() is transaction-safe !!
Date: Tue, 18 Nov 2003 16:47:25 +0100
User-agent: Mutt/1.3.22.1i

Syan:

In fact, it is only guaranteed to return the correct value if
used in the same transaction as the corresponding INSERT. More
than that it should *fail* when no prior INSERT happened to
the sequence in question.

Your change to create_dummy_identity() is wrong.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]