Re: 8.1, OID's and plpgsql

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: 8.1, OID's and plpgsql
Дата
Msg-id 20051201203709.GB1287@svana.org
обсуждение исходный текст
Ответ на 8.1, OID's and plpgsql  ("Uwe C. Schroeder" <uwe@oss4u.com>)
Список pgsql-general
On Thu, Dec 01, 2005 at 09:01:05AM -0800, Uwe C. Schroeder wrote:
> Now there's the issue with stored procs. A usual construct would be to
> ...
> ...
> INSERT xxxxxx;
> GET DIAGNOSTICS lastoid=RESULT_OID;
> SELECT .... oid=lastoid;
> ....
> ....
>
> Is there anything one could sanely replace this construct with?

currval()?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: fatal error in pg.log
Следующее
От: marcelo Cortez
Дата:
Сообщение: Encoding problem