Re: compare two rows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: compare two rows
Дата
Msg-id 6900.1286917877@sss.pgh.pa.us
обсуждение исходный текст
Ответ на compare two rows  (Ben Kim <bkim@tamu.edu>)
Список pgsql-admin
Ben Kim <bkim@tamu.edu> writes:
> What is the best way to compare two rows from within psql cli client?

In 8.4 and up you can just compare the row values, eg
    select x.* = y.*
if x and y are known to be of the same rowtype.

            regards, tom lane

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

Предыдущее
От: Ben Kim
Дата:
Сообщение: compare two rows
Следующее
От: Richard Broersma
Дата:
Сообщение: Re: compare two rows