Re: Using oids

Поиск
Список
Период
Сортировка
От Dennis Gearon
Тема Re: Using oids
Дата
Msg-id 3F560CE2.3020004@fireserve.net
обсуждение исходный текст
Ответ на Re: Using oids  (Oliver Elphick <olly@lfix.co.uk>)
Ответы Re: Using oids
Список pgsql-general
Why is that, anyway, and why should it be?

Oliver Elphick wrote:

>On Wed, 2003-09-03 at 12:19, Martijn van Oosterhout wrote:
>
>
>>If I were doing it would extract the primary key of each table on startup
>>and then change that one line of code to:
>>
>>os << "SELECT * FROM " << sTable << " WHERE "
>>   << prikey << " = currval('" << sTable << "_" << prikey << "_seq')";
>>
>>
>
>You cannot use currval() until you have used nextval() on the same
>sequence in the same session.
>
>
>


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

Предыдущее
От: Dennis Gearon
Дата:
Сообщение: Re: What is the good equivalent for ENUM ?
Следующее
От: Dennis Gearon
Дата:
Сообщение: Re: Using oids