How to view the SQL that Pg actually executes?

Поиск
Список
Период
Сортировка
От Kynn Jones
Тема How to view the SQL that Pg actually executes?
Дата
Msg-id c2350ba40710161043t172dca26t7c81fdb411ecaba4@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
I understand that in some cases (e.g. when add_missing_from is true),
Pg will modifiy some SQL input before running it.  Is there a way to
get Pg to print out the SQL it will actually execute?  Is it possible
to get to *just* print out this SQL without actually executing it?

TIA!

kj

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

Предыдущее
От: "jehan.procaccia"
Дата:
Сообщение: move databases files location
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Updating a production database schema from dev server