Re: [INTERFACES] Retrieve rows 1 by 1

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [INTERFACES] Retrieve rows 1 by 1
Дата
Msg-id 36E62699.4F515304@trust.ee
обсуждение исходный текст
Ответ на Retrieve rows 1 by 1  (Vikrant Rathore <vikrant@chemquick.com>)
Список pgsql-interfaces
Vikrant Rathore wrote:
>
> Please any one can tell me how to update,insert or change a single row
> using libpq interface. The table is not indexed and do not have a
> primary key.

each row has an unique 'object identifier' field called oid (that is
returned by a single-row insert if you use the psql interface)

so you can use where oid=NNNNN as qualification

Hannu

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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: [INTERFACES] the last row in a table
Следующее
От: James Olin Oden
Дата:
Сообщение: Re: [INTERFACES] Retrieve rows 1 by 1