Search Postgresql Archives
OID of type by name.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hey general@,
SELECT oid FROM pg_type WHERE typname = 'integer';
Âoid
-----
(0 rows)
SELECT oid FROM pg_type WHERE typname = 'int4';
Âoid
-----
 23
(1 row)
How can I get OID by name rather than alias ?
--
// Dmitriy.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]
[Postgresql Jobs]
[Postgresql Admin]
[Postgresql Performance]
[Linux Clusters]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[PHP Books]
[PHP Databases]
[Postgresql & PHP]
[Yosemite]