X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 0A00C9DC83B for ; Fri, 30 Dec 2005 19:40:43 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 70471-09 for ; Fri, 30 Dec 2005 19:40:45 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from fep01.ttnet.net.tr (mail.ttnet.net.tr [212.175.13.129]) by postgresql.org (Postfix) with ESMTP id D98839DC807 for ; Fri, 30 Dec 2005 19:40:18 -0400 (AST) Received: from (192.168.8.101) by AVGW-I-1.ttnet.net.tr via smtp id 63ef_cd248d4a_7963_11da_9d0b_001422175f0e; Fri, 30 Dec 2005 20:40:51 +0200 Received: from alamut ([85.97.162.227]) by fep01.ttnet.net.tr with ESMTP id <20051230233631.OOKY1771.fep01.ttnet.net.tr@alamut> for ; Sat, 31 Dec 2005 01:36:31 +0200 Date: Sat, 31 Dec 2005 01:37:10 +0200 From: Volkan YAZICI To: pgsql-interfaces@postgresql.org Subject: PQfformat() and Composite Formatted Results Message-ID: <20051230233709.GA771@alamut> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-NAI-Spam-Rules: 0 Rules triggered X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=2.267 required=5 tests=[AWL=-0.532, DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44, DNS_FROM_RFC_WHOIS=0.879, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 2.267 X-Spam-Level: ** X-Archive-Number: 200512/47 X-Sequence-Number: 5915 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.