This is the bug #6123 of the vanilla PostgreSQL. PostgreSQL has a fix for this as a part of 9.3. This fix is not sufficient for Postgres-XC and we need another work for the fix.
This bug is very rare and has not been reported from the field even to PG community.