Neil Conway <[EMAIL PROTECTED]> writes: > This fix needs to be in 7.4.1, so if anyone wants to review this > patch, that would be great.
Looks reasonable from here, but confirmation from the complainant that it fixes his problem would be real good ... > P.S. I added an assertion in the backend code to help catch any other > memory leaks in this area. I didn't add an equivalent one to the > frontend code, because libpq doesn't seem to be setup for > assertions. Yeah, we can't assume that a decent support mechanism exists in an arbitrary client application. > When this is applied to 7.4.1, we probably shouldn't > include the assertion at the risk of suffering backend crashes. Assert away. People who are concerned about assertions destabilizing their systems don't build with asserts enabled in the first place. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly