parsing binary varchar[]-s - Mailing list pgsql-general

From Igor Shevchenko
Subject parsing binary varchar[]-s
Date
Msg-id 200407270129.11468.igor@carcass.ath.cx
Whole thread Raw
Responses Re: parsing binary varchar[]-s
List pgsql-general
Hi,

I use binary mode for sending params and receiving data using libpq with
protocol v3; PostgreSQL version is 7.4.3.
Here, varchar[]-s are returned in binary mode; they're generated from internal
structs by "array_send" function in src/backend/utils/adt/arrayfuncs.c.
PQftype(..) returns 1015 for those columns. I couldn't find any #define for
this OID -- does this mean it can change in future pg releases ? Also, can I
safely use the binary format as described (by the code) in "array_send" ? Is
this interface is frozen, as a part of protocol v3 spec ?

--
Best Regards,
Igor Shevchenko

pgsql-general by date:

Previous
From: "David Parker"
Date:
Subject: estimating table size
Next
From: Ian Barwick
Date:
Subject: Re: estimating table size