Improve testlibpq3.c's example of PQexecParams() usage to include sending

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d1959f9ff6bcb68b081893bea85b937ae0588853
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-10-20T23:57:52Z
Releases: 8.1.0
Improve testlibpq3.c's example of PQexecParams() usage to include sending
a parameter in binary format.  Also, add a TIP explaining how to use casts
in the query text to avoid needing to specify parameter types by OID.
Also fix bogus spacing --- apparently somebody expanded the tabs in the
example programs to 8 spaces instead of 4 when transposing them into SGML.

Files

PathChange+/−
doc/src/sgml/libpq.sgml modified +354 −279
src/test/examples/testlibpq3.c modified +107 −47