Silence compiler warnings about unused msg_truncated variables.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 18 Apr 2013 19:33:40 +0000 (22:33 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 18 Apr 2013 19:33:40 +0000 (22:33 +0300)
commit160bbe68f48f68fe87009e77ee9d9d675461c0b7
treeea2a481ae169fba5aa7cdf156aae77ca8292f191
parent5ed3b6d233ad8b05623cb5cb8e003df1d57591ac
Silence compiler warnings about unused msg_truncated variables.

BTW, the error and notice handling could be made much smarter wrt.
truncation. The caller of handle_notice/error_message knows the message size
in advance, so it could easily pass it down and we could allocate a buffer
of the right size, instead of using a fixed size buffer that can be too
small.
connection.c
qresult.c
statement.c