Re: OID's

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: OID's
Дата
Msg-id 20041023160923.GB18478@wolff.to
обсуждение исходный текст
Ответ на OID's  ("Leen Besselink" <leen@wirehub.nl>)
Список pgsql-general
On Sat, Oct 23, 2004 at 14:52:31 +0200,
  Leen Besselink <leen@wirehub.nl> wrote:
>
> id = nextval ("whatever_id_seq");
> insert into whatever (id, text) values (id, 'something');
>
> Something that works always... better, but you need to know the name of
> the sequence, bummer.

In 8.0 (currently in beta) there is a supplied function to return this
string reliably.

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: returning inserted rows, derived tables design
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: Slony-I 1.0.4 Released