Re: <> operator

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Re: <> operator
Дата
Msg-id du8p60$k68$1@news.hub.org
обсуждение исходный текст
Ответ на TID: <> operator  (Neil Conway <neilc@samurai.com>)
Ответы Re: <> operator  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
"Neil Conway" <neilc@samurai.com> wrote
> > Does it make sense to implementation > or < for the tid type?
>
> I can't get too excited about it, but I wouldn't object if someone can
> see a use for it.
>

There might be another usage of tid < or >. Consider a heap with one middle
page is broken, I could save most of my data by doing

INSERT INTO aa SELECT * FROM a WHERE ctid < '(1000, 1)';
INSERT INTO aa SELECT * FROM a WHERE ctid > '(1001, 0)';

The above example also proves that <= or >= is not required.

Regards,
Qingqing



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: TODO-Item: TRUNCATE ... CASCADE
Следующее
От: Tom Lane
Дата:
Сообщение: Re: <> operator