Getting references for OID

Started by Воронин Дмитрийabout 11 years ago2 messages

<div>Hello,</div><div>О©╫</div><div>How can I get all depend objects for oid of object? For example, I have oid of db db_id and I want to get all oids of namespaces, which contains this db. Thank you!</div><div>О©╫</div><div>-- <br />О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫, О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫</div><div>О©╫</div>

#2Borodin Vladimir
root@simply.name
In reply to: Воронин Дмитрий (#1)
Re: Getting references for OID

Hello,

How can I get all depend objects for oid of object? For example, I have oid of db db_id and I want to get all oids of namespaces, which contains this db. Thank you!

Hello, Dmitry.

Actually, this list is for developers (as described here [0]http://www.postgresql.org/list/). You should ask this question on pgsql-general@, for example, or you can do it on pgsql-ru-general@, in Russian.

And if I understood you right you can use oid2name tool which is part of contrib. More info about it can be found here [1]http://www.postgresql.org/docs/current/static/oid2name.html.

[0]: http://www.postgresql.org/list/
[1]: http://www.postgresql.org/docs/current/static/oid2name.html

--
С уважением, Дмитрий Воронин

--
Vladimir