Re: Order by and timestamp

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Order by and timestamp
Дата
Msg-id 24142.1584319263@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Order by and timestamp  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: Order by and timestamp
Список pgsql-general
Adrian Klaver <adrian.klaver@aklaver.com> writes:
> On 3/15/20 2:33 PM, Björn Lundin wrote:
>> I then did ’select * from AMARKETS order by STARTTS’

> Is amarkets in more then one schema?

Yeah, it's hard to think of any explanation other than "the query used a
corrupt index on startts to produce the ordering".  But your \d doesn't
show any index on startts.  So maybe there's more than one amarkets
table?

Another possibly-useful bit of evidence is to see what EXPLAIN shows as
the query plan for this query.

            regards, tom lane



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Order by and timestamp
Следующее
От: Samuel Smith
Дата:
Сообщение: Invalid byte sequence errors on DB restore