有谁知道如何在Postgres 9.1中找到表的OID?我正在编写一个更新脚本,需要在尝试创建列之前测试表中是否存在列.这是为了防止脚本在第一次出错后运行.
postgresql postgresql-9.1
postgresql ×1
postgresql-9.1 ×1