Re: One of the example queries that 'could' is identical to one that 'could not'.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: One of the example queries that 'could' is identical to one that 'could not'.
Дата
Msg-id 1881495.1639930503@sss.pgh.pa.us
обсуждение исходный текст
Ответ на One of the example queries that 'could' is identical to one that 'could not'.  (PG Doc comments form <noreply@postgresql.org>)
Список pgsql-docs
PG Doc comments form <noreply@postgresql.org> writes:
> 11.9.2 lists ```SELECT x FROM tab WHERE x = 'key' AND z < 42;``` as both
> examples of 'could' and 'could not' use index-only scans.

No, look again: one of the queries uses the indexed column y,
and the other uses the non-indexed column z.

            regards, tom lane



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

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: One of the example queries that 'could' is identical to one that 'could not'.
Следующее
От: PG Doc comments form
Дата:
Сообщение: The pg_stop_backup will return one row with three values.