Description on bind message - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Description on bind message
Date
Msg-id 20131015.180219.1176571361767466919.t-ishii@sraoss.co.jp
Whole thread Raw
Responses Re: Description on bind message  (Marko Tiikkaja <marko@joh.to>)
List pgsql-hackers
In manual of "48.5. Message Formats" section, there is a description
of "Bind" message.

Int16[C]   The parameter format codes. Each must presently be zero (text) or one (binary).

This could be completely non-existent field in the current
implementation of PostgreSQL. I think the fact is not very clear from
the description. It would be nice the description is something like:

Int16[C]   The parameter format codes. Each must presently be zero (text) or one (binary).This field does not exist if
thenumber of prameter values is 0.
 

Same thing can be said to following:

Int16[R]   The result-column format codes. Each must presently be zero (text) or one (binary).
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: [PATCH] Add use of asprintf()
Next
From: Marko Tiikkaja
Date:
Subject: Re: Description on bind message