"Matthew Dennis" <mdennis@merfer.net> writes:
> In reference to the script below (I know it can be rewritten, that's not the
> point), I get 3 rows if the referenced index exists but only two rows if it
> does not.
I don't see any failure in 8.3 branch tip. I think the bug was fixed
here:
http://archives.postgresql.org/pgsql-committers/2008-06/msg00336.php
regards, tom lane