Not 100% sure I have a bug, but I've never seen this before so I though it was worth a post. Confirmed on 8.4.4 and 9.0 beta. I have a small self contained test case that I can send off line or on the list following some code obfuscation (it's fairly complex to set up).
merlin -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs