Re: [JDBC] Logging Queries

Поиск
Список
Период
Сортировка
От Peter Mount
Тема Re: [JDBC] Logging Queries
Дата
Msg-id 5.0.2.1.0.20010329101851.01ff1aa0@mail.retep.org.uk
обсуждение исходный текст
Ответ на Logging Queries  (Hunter Hillegas <lists@lastonepicked.com>)
Список pgsql-general
At 12:01 27/03/01 -0800, Hunter Hillegas wrote:
>I'm having a problem with queries sent in from a Java program.
>
>Is there any way to have the server log the queries that are coming in so I
>can see what's actually getting processed?

 From the server:
Can't remember which, but -d1 or -d2 when you start the postmaster
sometimes works (higher values show too much detail like the query plans etc).

 From within the driver: use DriverManager.setLogStream()

PeterM


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

Предыдущее
От: Peter Mount
Дата:
Сообщение: Re: fastpath error?
Следующее
От: Marek Pętlicki
Дата:
Сообщение: Re: how to load a sql-file????