* Stefan Becker: > Is there a way to get the ID row OR create a new one in > ONE single statement?
You could create a stored procedure. But if you have concurrent inserts, locking is a bit tricky. -- Florian Weimer <fwei...@bfk.de> BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99 -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql