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

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve testlibpq3.c's example of PQexecParams() usage to include
Date: 2005-10-20 23:57:52
Message-ID: 20051020235752.37F86D8C0C@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/doc/src/sgml:
libpq.sgml (r1.195 -> r1.196)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/libpq.sgml.diff?r1=1.195&r2=1.196)
pgsql/src/test/examples:
testlibpq3.c (r1.12 -> r1.13)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/examples/testlibpq3.c.diff?r1=1.12&r2=1.13)

Browse pgsql-committers by date

  From Date Subject
Next Message User Tink 2005-10-21 01:07:46 press - pr: Finished "Performance enhancements" and "About PostgreSQL"
Previous Message User Tink 2005-10-20 22:04:57 press - pr: "New Advanced Database Features" and first two paragrahps of