Cause PQescapeString to stop processing at a null character, rather
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Oct 2003 18:26:14 +0000 (18:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Oct 2003 18:26:14 +0000 (18:26 +0000)
commit251033186ff575cf130ec53daa996749022fbad3
treeba5c4f571541863bea9cd8164ba3cfe40fbedbb8
parent3b4c142030de5e016cb7b87a0bbcb070aab997cd
Cause PQescapeString to stop processing at a null character, rather
than generating an invalid output string.  Per observation and patch
from Igor Shevchenko.  Further code cleanup and documentation by
Tom Lane.
doc/src/sgml/libpq.sgml
src/interfaces/libpq/fe-exec.c