Re: pg_stat_user_tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_stat_user_tables
Дата
Msg-id 13896.1206733307@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_stat_user_tables  (JackpipE <pipe.jack@gmail.com>)
Список pgsql-general
JackpipE <pipe.jack@gmail.com> writes:
> I'm selecting tables from my db using query:
> SELECT
>   pg_stat_user_tables.relname
> FROM
>   pg_stat_user_tables
> WHERE
>   (pg_stat_user_tables.relname LIKE 'name_hosp_%')

> The problem I have is that the table names returned by this query are
> different from the ones in my db.

That hardly seems likely, since the contents of that view are drawn
directly from pg_class.  Maybe you have some old schemas you've
forgotten about?

            regards, tom lane

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: dunction issue
Следующее
От: Osvaldo Rosario Kussama
Дата:
Сообщение: Re: SELECT DISTINCT ON and ORDER BY