Re: pg_depend question

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: pg_depend question
Дата
Msg-id 20060531191314.GH23169@svana.org
обсуждение исходный текст
Ответ на pg_depend question  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
Список pgsql-general
On Wed, May 31, 2006 at 02:10:38PM -0500, Tony Caduto wrote:
> Hi,
> I am working on a dependency/referenced by viewer and given a query like so:
> select refobjid from pg_depend where objid = 91640
>
> how do I determine what refobjid is?  is there a function or something I
> have missed or do I just run brute force queries against the system tables?

That's what refclassid tells you. It's the OID of the table where this
OID is relevent for...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: Tony Caduto
Дата:
Сообщение: pg_depend question
Следующее
От: "Eliana Providel "
Дата:
Сообщение: problemas con psql -l