
postgreSQL中一般 一个表或索引会对应一个或多个数据文件,可以通过下面的方法获得表对应的数据文件位置:
postgres=# create table testtab (t1 int); CREATE TABLE postgres=# postgres=# SELECT pg_relation_filepath('testtab'); pg_relation_filepath ---------------------- base/13055/16384 (1 row)
数据库恢复服务热线:13764045638(微信) QQ: 47079569
Oracle MySQL 数据恢复 数据库讨论QQ群号: 171092051
postgreSQL中一般 一个表或索引会对应一个或多个数据文件,可以通过下面的方法获得表对应的数据文件位置:
postgres=# create table testtab (t1 int); CREATE TABLE postgres=# postgres=# SELECT pg_relation_filepath('testtab'); pg_relation_filepath ---------------------- base/13055/16384 (1 row)
Copyright © 2021 · Genesis Framework · WordPress · Log in
Comment