Description on bind message

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Description on bind message
Date: 2013-10-15 09:02:19
Message-ID: 20131015.180219.1176571361767466919.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 the number 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2013-10-15 09:09:02 Re: Description on bind message
Previous Message David Rowley 2013-10-15 07:43:34 Re: [PATCH] Add use of asprintf()