Re: "no relation entry for relid 1"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "no relation entry for relid 1"
Дата
Msg-id 22184.1317334550@sss.pgh.pa.us
обсуждение исходный текст
Ответ на "no relation entry for relid 1"  (Peter Geoghegan <peter@2ndquadrant.com>)
Ответы Re: "no relation entry for relid 1"
Список pgsql-bugs
Peter Geoghegan <peter@2ndquadrant.com> writes:
> 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?

Looks like I broke it here:

http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=1cb108efb0e60d87e4adec38e7636b6e8efbeb57

Fixed, thanks for the report!

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: "no relation entry for relid 1"
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: "no relation entry for relid 1"