PQfformat() and Composite Formatted Results - Mailing list pgsql-interfaces

From Volkan YAZICI
Subject PQfformat() and Composite Formatted Results
Date
Msg-id 20051230233709.GA771@alamut
Whole thread Raw
Responses Re: PQfformat() and Composite Formatted Results
List pgsql-interfaces
Hi,

PQfformat() returns the format code indicating the format of the
given column. But, AFAIC, it's not possible to gather composite
formatted results using current query execution functions. They
only permit to specify the return format of the whole result
struct. (Like all of them will be binary or text.) Therefore, there
doesn't remain any usage difference between PQbinaryTuples() and
PQfformat().

Please fix me if I'm wrong. Is this remained as a TODO for the
protocol or I missed something totally?


Regards.


pgsql-interfaces by date:

Previous
From: Volkan YAZICI
Date:
Subject: Re: Convertion of date/time binary format to text format
Next
From: Tom Lane
Date:
Subject: Re: PQfformat() and Composite Formatted Results