]> 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:44 +0000 (13:35 -0400)
commitae67e81edb684165b8d9661d4455908b9db618d8
tree6f3b885ce359360c1f1e36375c350da3af3f2eef
parentce37bf2edf3f80480549d0c049b323b869a7276d
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