Re: How determine a Views dependents

Поиск
Список
Период
Сортировка
От Erik Jones
Тема Re: How determine a Views dependents
Дата
Msg-id BD9B433F-00BE-4E33-A804-4B059DBA889A@myemma.com
обсуждение исходный текст
Ответ на How determine a Views dependents  ("Charles Mortell" <cmortell@apt-cafm.com>)
Список pgsql-general
On Jun 22, 2007, at 10:50 AM, Charles Mortell wrote:

> Fellow Postgressors,
>     I took over an existing PG 8.0 database running on Windows XP. I
> need to
> update a view so I know I need to drop the existing view and all
> the objects
> that depend on it.
>     The DB is large enough that I can't just look through it with
> PGAdmin. In
> an organized way, how can I find out what those dependents are?
>     If I need to use pg_depend, I could use some help in how to do that.
>     Thanks!

Have you looked at the output of \d <view name> in psql?

Erik Jones

Software Developer | Emma®
erik@myemma.com
800.595.4401 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com



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

Предыдущее
От: Erik Jones
Дата:
Сообщение: Re: Can I backup/restore a database in a sql script?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: SPI using perl