You are accurate.
Suchandra Thapa wrote:
>I was wondering if there was a reliable method to get the last id
>inserted into a serial column in a table. I believe previous
>recommendations given were to use a sequence, have your app get the
>nextval for the sequence and then use that in the insert. I was
>wondering if things had changed or if that is still the recommended
>method.
>
>
>
--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-222-2783 - jd@commandprompt.com - http://www.commandprompt.com
Editor-N-Chief - PostgreSQl.Org - http://www.postgresql.org