]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix documentation for libpq's PQfn().
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 8 Mar 2015 17:35:28 +0000 (13:35 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 8 Mar 2015 17:35:41 +0000 (13:35 -0400)
commit9937f6e4c8ceba37ef840d550bc202c402d48113
tree6f1615a3b1af5329b814b2ee4511dd1924c0df23
parentd645273cffa706936629891f84334a2f7a24232b
Fix documentation for libpq's PQfn().

The SGML docs claimed that 1-byte integers could be sent or received with
the "isint" options, but no such behavior has ever been implemented in
pqGetInt() or pqPutInt().  The in-code documentation header for PQfn() was
even less in tune with reality, and the code itself used parameter names
matching neither the SGML docs nor its libpq-fe.h declaration.  Do a bit
of additional wordsmithing on the SGML docs while at it.

Since the business about 1-byte integers is a clear documentation bug,
back-patch to all supported branches.
doc/src/sgml/libpq.sgml
src/interfaces/libpq/fe-exec.c