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)
commit4679150da6ce874e6471eda28d7d2ca617334d94
tree5d452f5b527d9ce28eebd4af5c96bd06c9d1ee13
parent78d27b6dc74651894e195091387488141339420d
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