Re: How to update rows from a cursor in PostgreSQL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to update rows from a cursor in PostgreSQL
Дата
Msg-id 5814.1046018398@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to update rows from a cursor in PostgreSQL  (Ruben <ruben12@superguai.com>)
Список pgsql-general
Ruben <ruben12@superguai.com> writes:
> Shouldn't it be better then to use "oid" instead of ctid?

Only if you (a) have an OID column and (b) have a unique index created
on the OID column.  ctid is nice because it doesn't incur any indexing
overhead ...

            regards, tom lane

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

Предыдущее
От: Carlos Moreno
Дата:
Сообщение: Re: Strange error (Socket command option unknown)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Strange error (Socket command option unknown)