Brian Olson <bql(at)bolson(dot)org> writes:
> I've been looking at the PostgreSQL docs on the server-client protocol,
> and it doesn't specify the format of binary parameters. Where would
> that be documented?
Presently you have to look at the sources of the backend's send and recv
functions for each datatype. (If anyone wants to do the legwork to
transpose that information into an SGML chapter, be my guest...)
> Are the type oid-s guaranteed to be constant between versions?
Nothing's really guaranteed, but in practice the built-in type OIDs do
not change --- for instance type text has had OID 25 since Berkeley days.
You cannot however assume anything about types that are not built-in
(which means predefined in src/include/catalog/pg_type.h).
regards, tom lane
In response to
pgsql-jdbc by date
|Next:||From: debashis dutta||Date: 2004-05-01 11:00:15|
|Subject: Database connection problem through JDBC driver|
|Previous:||From: Oliver Jowett||Date: 2004-05-01 01:51:40|
|Subject: Re: Result Set Cursor Patch|