摘要:
[pgsql@localhost bin]$ ./psql -d postgrespsql (9.1.2)Type "help" for help.postgres=# \dNo relations found.postgres=# create table tab001(id integer);CREATE TABLEpostgres=# select pg_relation_filepath('tab001'); pg_relation_filepath ---------------------- base/12699/139312(1 row)pos 阅读全文
posted @ 2013-07-04 09:42
健哥的数据花园
阅读(1884)
评论(0)
推荐(0)
摘要:
base目录,这是所有数据库目录的父目录。在base目录下第一层,每个目录就是一个数据库所对应的文件。那么如何知道哪个目录对应哪个数据呢?查询如下:先看数据库列表[pgsql@localhost bin]$ ./psqlpsql (9.1.2)Type "help" for help.pgsql=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges -----------+--------... 阅读全文
posted @ 2013-07-04 09:40
健哥的数据花园
阅读(11014)
评论(0)
推荐(0)

浙公网安备 33010602011771号