]> 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:53 +0000 (13:35 -0400)
commita07bd32f2b130a67bf285f8ef5f1fe4ebcc3a5b8
tree7296c55b6b0e771e6da026d3bf4ac4e4b1087156
parent71b8e8e6cf12fb550977c4debbef036f90a94734
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