Thread: Getting references for OID

Getting references for OID

From
Воронин Дмитрий
Date:
<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_idand I want to get all oids of namespaces, which contains this db. Thank you!</div><div> </div><div>-- <br />С
уважением,Дмитрий Воронин</div><div> </div> 

Re: Getting references for OID

From
Borodin Vladimir
Date:

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]). 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].


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


--
Vladimir