Hi all
Does anyone know if it is possible to work out from an OID alone which
table it references?
Thanks
Cheers
Zak
--
Zak McGregor http://www.carfolio.com - Over 7000 car specs online
Web mercenary - currently for hire. Perl/html/.js/sql/cgi/GNUlinux/php +
Prevent links wrapping in emails: http://www.carfolio.com/redirect/add
---------------------------------------------------------------------
Money capers: http://www.theregister.co.uk/content/7/14017.html
Zak McGregor wrote:
>
> Does anyone know if it is possible to work out from an OID alone which
> table it references?
richardh=> select oid,relname from pg_class where oid=1044019;
oid | relname
---------+---------
1044019 | foo
HTH
- Richard Huxton
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.