Re: FETCH FIRST clause WITH TIES option

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: FETCH FIRST clause WITH TIES option
Дата
Msg-id 20190924154827.GA26751@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: FETCH FIRST clause WITH TIES option  (Surafel Temesgen <surafel3000@gmail.com>)
Ответы Re: FETCH FIRST clause WITH TIES option  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hmm,

create table w (a point);

# select * from w order by a fetch first 2 rows with ties;
ERROR:  could not identify an ordering operator for type point
LINE 1: select * from w order by a fetch first 2 rows with ties;
                                  ^
HINT:  Use an explicit ordering operator or modify the query.

I'm not sure that the HINT is useful here.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PATCH] src/test/modules/dummy_index -- way to test reloptionsfrom inside of access method
Следующее
От: vignesh C
Дата:
Сообщение: Re: dropdb --force