openwares.net

Freedom & Beauty

  • Home
  • About
  • Tags
  • Categories
  • Archives
  • Search
  • Table of Contents
  • Overview

openwares

open source and free matters
994 posts
18 categories
42 tags
0%

查询PostgreSQL默认表空间

Posted on 2013-11-06 Edited on 2020-12-07 In Database

查询数据对应的默认表空间

继续使用数据库组织管理post里的示例
[sql]
foo=> SELECT d.datname, t.spcname FROM pg_database d, pg_tablespace t WHERE d.dattablespace = t.oid;
datname spcname
———–+————
template1 pg_default
template0 pg_default
postgres pg_default
foo ts_foo
(4 rows)
[/sql]

# PostgresQL
删除还有活动连接的PostgreSQL数据库
bash位置参数
© 2025 openwares
Powered by Hexo & NexT.Muse