Re: Change in Log Format and Prepared Statements

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Change in Log Format and Prepared Statements
Дата
Msg-id 50570F71.7090401@ringerc.id.au
обсуждение исходный текст
Ответ на Re: Change in Log Format and Prepared Statements  (Alexander Stanier <alexander.stanier@egsgroup.com>)
Список pgsql-jdbc
On 09/17/2012 02:58 PM, Alexander Stanier wrote:
> Thanks Maciek for your advice which I will pass back to our Java
> developers. We are using a combination of Torque and Hibernate to access
> the database via jdbc. I think Hibernate passes parameters as you
> suggest but Torque doesn't. We are slowly moving away from Torque to
> Hibernate.
>
> Do you know if there is any documentation on the "unnamed variant" of
> prepared statements? I've read the pages on PREPARE and EXECUTE but they
> don't go into much depth about what happens in the background.

The v3 protocol uses something like PREPARE and EXECUTE, but not those
statements as such.

You want the documentation on the fe/be protocol:

   http://www.postgresql.org/docs/current/static/protocol.html


http://www.postgresql.org/docs/current/static/protocol-overview.html#PROTOCOL-QUERY-CONCEPTS


http://www.postgresql.org/docs/current/static/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY

For the exact communications used by PgJDBC you're best off checking the
sources. I haven't read the wire protocol / backend part yet.

--
Craig Ringer


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

Предыдущее
От: Alexander Stanier
Дата:
Сообщение: Re: Change in Log Format and Prepared Statements
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Bug : FAST_NUMBER_FAILED when getting NaN on BigDecimal