* 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 <[email protected]> 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 ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql
