Log SQL code before executing it

Поиск
Список
Период
Сортировка
От Alexander Farber
Тема Log SQL code before executing it
Дата
Msg-id 943abd910903061424l1f61f10du8fd11f0c32d85efb@mail.gmail.com
обсуждение исходный текст
Ответы Re: Log SQL code before executing it  (hubert depesz lubaczewski <depesz@depesz.com>)
Re: Log SQL code before executing it  (Chris <dmagick@gmail.com>)
Список pgsql-general
Dear PgSQL users,

is there please a way to display the executed SQL code?

I'm using phpBB 3.0.4 / PostgreSQL 8.2.6 / PHP 5.2.5 / OpenBSD 4.3
to develop a card game in Flash / C / Perl (at http://preferans.de )
and would like to log each game round by simply posting and replying
in one of the phpBB forums. The phpBB's code however is very hairy
and I have troubles to follow it and to reconstruct the SQL statements
needed for posting and replying.

Thank you for any hints
Alex

PS: Or maybe it's possible to overload $db->sql_query($sql) in PHP?

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: iSCSI SAN Suggestions
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Maximum transaction rate