On Tue, Mar 01, 2005 at 10:46:02PM +0700, amrit@health2.moph.go.th wrote:
> I would like to know whether there is any command which the server will give the
> record ID back to the client when client puts the data and the server generates
> an autoincrement ID for that record.
See "How do I get the value of a SERIAL insert?" and the question
immediately following it in the FAQ:
http://www.postgresql.org/files/documentation/faqs/FAQ.html#4.11.2
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/