Re: GET LAST ID INSERT

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: GET LAST ID INSERT
Дата
Msg-id 20030924130658.GB12630@libertyrms.info
обсуждение исходный текст
Ответ на Re: GET LAST ID INSERT  ("Marek Lewczuk" <newsy@lewczuk.com>)
Список pgsql-general
On Wed, Sep 24, 2003 at 09:04:49AM +0100, Marek Lewczuk wrote:
> BEGIN
>   var_query := ''SELECT '' || $3 ||'' AS __id FROM '' || $2 || '' WHERE
> oid = '' || $1 || '';'';

Note that tables can be created without oids, and oids are not
automatically indexed.  So this function might not work in future,
and will possibly be very slow.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: About GPL and proprietary software
Следующее
От: "K. Deepa"
Дата:
Сообщение: Accessing tables from different databases