> Care to give us a table:
> select * from pg_shadow where (usesysid is null and oid is null);
Sure, that's easy. Just negate your where clause:
tgl=> select * from pg_shadow
tgl-> where not (usesysid is null and oid is null);
pqReadData() -- backend closed the channel unexpectedly.
If you can reproduce this, will you have a chance to look at it? I don't
know where the problem is, but suspect that it is farther back than the
parser transformations. Rewrite system, optimizer, or executor??
- Tom