Clean up some problems in SetClientEncoding: failed to honor doit flag
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 27 Apr 2003 17:31:25 +0000 (17:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 27 Apr 2003 17:31:25 +0000 (17:31 +0000)
commit5f15fa8d0693a333f37eb2b44c10d2f784202615
tree09faf73c008ee1df57674affcfac16b8ef283a72
parent20aae3047fb6a04c7cd042873aefa5cba404cfa9
Clean up some problems in SetClientEncoding: failed to honor doit flag
in all cases, leaked TopMemoryContext memory in others.  Make the
interaction between SetClientEncoding and InitializeClientEncoding
cleaner and better documented.  I suspect these changes should be
back-patched into 7.3, but will wait on Tatsuo's verification.
src/backend/commands/variable.c
src/backend/utils/mb/mbutils.c