aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-02-24 04:50:51 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-02-24 04:50:51 +0000
commit58f481c4ff616fbe777881fe6b5a1a864b680678 (patch)
tree5d7b82c73762051a8b7016c8fa2b853d28a061e7 /src/tutorial/advanced.source
parentf017d7eeeeb14a2b8690299bd5389c67bc82b3da (diff)
downloadpostgresql-58f481c4ff616fbe777881fe6b5a1a864b680678.tar.gz
postgresql-58f481c4ff616fbe777881fe6b5a1a864b680678.zip
Tweak libpq so that if a backend ERROR message arrives while libpq
thinks the connection is idle, the error message is displayed as if it were a NOTICE. This seems better than dropping the message on the floor ... particularly if the message is the backend telling us why it's about to close the connection. The previous behavior was Backend message type 0x45 arrived while idle pqReadData() -- backend closed the channel unexpectedly. which is not real helpful.
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions