]> granicus.if.org Git - postgresql/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:28 +0000 (13:35 -0400)
commit1a0bc4c2bfc278b63965486b1525ad04a1f85989
treee255bf25fc5b99c198c28696f5be979f98d57d40
parent90c35a9ed06c1353a0d3818c259e629ff09dba18
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