I've built Postgres from master, and found that the following fairly
simple query breaks:

select count(*)
from
(
        select
        schemaname
        from            pg_stat_user_tables
        order by        1       
) sub
group by schemaname

This produces the internal error message "no relation entry for relid
1". Why is that?

-- 
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to