Re: MySQL LAST_INSERT_ID() to Postgres
От | Tom Lane |
---|---|
Тема | Re: MySQL LAST_INSERT_ID() to Postgres |
Дата | |
Msg-id | 27261.1219985120@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: MySQL LAST_INSERT_ID() to Postgres (Raymond O'Donnell <rod@iol.ie>) |
Ответы |
Re: MySQL LAST_INSERT_ID() to Postgres
|
Список | pgsql-general |
"Raymond O'Donnell" <rod@iol.ie> writes: > On 28/08/2008 22:26, Bill wrote: >> someone confirm that currval() returns the the value for the connection >> from which it is called? > Yes, see here: > http://www.postgresql.org/docs/8.3/static/functions-sequence.html > and specifically a little further down the page on "currval": A general comment on those pages is that the tabular lists of functions are intended to give one-liner descriptions of what the functions do. For cases where a one-liner isn't sufficient, there's a sentence or a paragraph following the table. I don't find this layout remarkably intuitive myself, but I wonder whether anyone has a concrete plan for making it better? regards, tom lane
В списке pgsql-general по дате отправления: