What is the postgres sql command for last_user_id ???

From: amrit(at)health2(dot)moph(dot)go(dot)th
To: PGsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: What is the postgres sql command for last_user_id ???
Date: 2005-03-01 15:46:02
Message-ID: 1109691962.42248e3a3c898@webmail.moph.go.th
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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.
For example if many clients try to put the money data to the server and each
record from each client has its own record ID by autoincrement process of the
server [x+1] and i don't need to lock the record since it will bring the system
to slow down. That client wil then want to know which ID that server gives to
that record in order to select that record to print the reciept [bill].
I know that in mysql there is a command "last_record_id" which acts the same as
I mention above. Does anybody know that , please give me the detail?

Amrit,Thailand

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message John Arbash Meinel 2005-03-01 15:52:12 Re: multi billion row tables: possible or insane?
Previous Message Vig, Sandor (G/FI-2) 2005-03-01 15:40:29 Re: multi billion row tables: possible or insane?