RE: How to see a RULE definition?

Поиск
Список
Период
Сортировка
От Joel Burton
Тема RE: How to see a RULE definition?
Дата
Msg-id Pine.LNX.4.21.0101111203500.14673-100000@olympus.scw.org
обсуждение исходный текст
Ответ на RE: How to see a RULE definition?  ("Trewern, Ben" <Ben.Trewern@mowlem.com>)
Ответы Re: How to see a RULE definition?
Список pgsql-general
On Thu, 11 Jan 2001, Trewern, Ben wrote:

> You can use:
> pgdump -s > outfile
>
> which will dump all the schema for the database.
> It should be in there somewhere ;)

Or, for 7.1, use the new features of pg_dump to dump to the non-text-file
formats, which will allow you instantly and selectively look at particular
parts of your db dump, rather than worming your way through yourself.

Better still:

You can also SELECT * FROM pg_rules WHERE rulename='my_rule';

(at least in 7.1 betas; don't remember about 7.0.x)

--
Joel Burton   <jburton@scw.org>
Director of Information Systems, Support Center of Washington


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

Предыдущее
От: Rosa Maria Carro Salas
Дата:
Сообщение: RecordSets, getString and charSets
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: Loading optimization