I have the impression that this thread has lost focus on the idea of producing a backpatchable bugfix. The last proposed patch has a lot of new mechanism that doesn't seem suitable for backpatch. I could be wrong of course.
-- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "[PostgreSQL] is a great group; in my opinion it is THE best open source development communities in existence anywhere." (Lamar Owen)
