On Nov 19, 2004, at 5:41 PM, Erik Thiele wrote:

now how do i know the id of my newly inserted element? and
how can this be done in a completely concurrency safe way?

This is a FAQ (4.15.1, among others). See currval() and nextval() in the documentation as well.


Michael Glaesemann
grzm myrealbox com


---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to