Skip site navigation (1) Skip section navigation (2)

Re: Change in Log Format and Prepared Statements

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Alexander Stanier <alexander(dot)stanier(at)egsgroup(dot)com>
Cc: Maciek Sakrejda <m(dot)sakrejda(at)gmail(dot)com>, Dave Cramer <pg(at)fastcrypt(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Change in Log Format and Prepared Statements
Date: 2012-09-17 11:54:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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:

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

In response to

pgsql-jdbc by date

Next:From: Kevin GrittnerDate: 2012-09-17 15:52:42
Subject: Re: Bug : FAST_NUMBER_FAILED when getting NaN on BigDecimal
Previous:From: Alexander StanierDate: 2012-09-17 06:58:21
Subject: Re: Change in Log Format and Prepared Statements

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group