Re: Printing query durations
| От | Oliver Jowett |
|---|---|
| Тема | Re: Printing query durations |
| Дата | |
| Msg-id | 4429E96F.5000502@opencloud.com обсуждение исходный текст |
| Ответ на | Re: Printing query durations (Dave Cramer <pg@fastcrypt.com>) |
| Ответы |
Re: Printing query durations
|
| Список | pgsql-jdbc |
Dave Cramer wrote: > Kevin, > > Well, the server doesn't really know the difference between a query > from jdbc vs a query from psql. The only difference is how they > connect. psql usually connects to a unix domain socket, whereas jdbc > connects via a tcpip socket. Even this behaviour can be changed in psql > by specifying -h <hostname> Well, there is actually quite a big difference. psql uses the simple query protocol. JDBC uses the extended query protocol. See previous discussion on -hackers about the difficulties in logging the extended query protocol usefully.. -O
В списке pgsql-jdbc по дате отправления: