代码改变世界

PostgreSQL中数据库,表,等对象的oid与对象名的对应关系

2016-06-12 14:55  DataBases  阅读(2482)  评论(0)    收藏  举报

-bash-4.1$ oid2name
Password:
All databases:
Oid Database Name Tablespace
----------------------------------
16394 benchmarksql pg_default
16459 pg_monitor    pg_default
13241 postgres         pg_default
13236 template0      pg_default
1 template1             pg_default

以pgbench_branches 24939为例