Re: Distinguish view and table problem

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Distinguish view and table problem
Дата
Msg-id 603c8f070912180931qb6a9d49ldefcb54d06e4e9da@mail.gmail.com
обсуждение исходный текст
Ответ на Distinguish view and table problem  ("suzhiyang" <suzhiyang@gmail.com>)
Список pgsql-hackers
On Fri, Dec 18, 2009 at 10:57 AM, suzhiyang <suzhiyang@gmail.com> wrote:
> Another question is that does postgres save the user's original query_string
> at anywhere(systable etc.)? If I want to save the sourceText in the
> systable, I could add a column to pg_class called query_string. How could I
> insert a line to pg_class or read a line from it?

pg_class wouldn't make much sense for this.  But you might be
interested in pg_stat_activity.

...Robert


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Backup history file should be replicated in Streaming Replication?
Следующее
От: Joshua Tolley
Дата:
Сообщение: Re: Time to run initdb is mostly figure-out-the-timezone work