Re: PL/PgSQL Index Usage with Trigger Variables

Поиск
Список
Период
Сортировка
От Thomas F.O'Connell
Тема Re: PL/PgSQL Index Usage with Trigger Variables
Дата
Msg-id 3D7A2CAA-69EE-11D9-90FF-000D93AE0944@sitening.com
обсуждение исходный текст
Ответ на PL/PgSQL Index Usage with Trigger Variables  (Thomas F.O'Connell <tfo@sitening.com>)
Ответы Re: PL/PgSQL Index Usage with Trigger Variables  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
It looks like the indexes are in fact used when trigger variables are
referenced in where clauses in PL/pgSQL. Thanks for the idea of
investigating the plans in the logs for this info.

Follow-up question: are indexes used in dynamically executed queries?

Rather than SEQSCAN or INDEXSCAN in the DETAIL item, I see RESULT
followed by a large amount of unreadable (by me) output.

-tfo

--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005


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

Предыдущее
От: Bo Lorentsen
Дата:
Сообщение: Re: Index optimization ?
Следующее
От: ntinos@aueb.gr
Дата:
Сообщение: Re: Getting table metadata