Does anyone know how to find the OID of a table in Postgres 9.1? I am writing an update script that needs to test for the existence of a column in a table before it tries t
SELECT oid FROM pg_class WHERE relname = 'tbl_name' AND relkind = 'r';