PostgreSQL的schema信息,存储于何处
postgresql存储 信息 Schema 何处
2023-09-11 14:20:28 时间
查看schema信息:
[pgsql@localhost bin]$ ./psql psql (9.1.2) Type "help" for help. pgsql=# create schema gaosche; CREATE SCHEMA pgsql=# select catalog_name,schema_name from information_schema.schemata ; catalog_name | schema_name --------------+-------------------- pgsql | pg_toast pgsql | pg_temp_1 pgsql | pg_toast_temp_1 pgsql | pg_catalog pgsql | public pgsql | information_schema pgsql | gaosche (7 rows) pgsql=# select * from pg_namespace; nspname | nspowner | nspacl --------------------+----------+---------------------------- pg_toast | 10 | pg_temp_1 | 10 | pg_toast_temp_1 | 10 | pg_catalog | 10 | {pgsql=UC/pgsql,=U/pgsql} public | 10 | {pgsql=UC/pgsql,=UC/pgsql} information_schema | 10 | {pgsql=UC/pgsql,=U/pgsql} gaosche | 10 | (7 rows) pgsql=#
故此,可以任务,schema,就是namespace。
相关文章
- 如何高枕无忧地使用PostgreSQL?
- PostgreSQL修炼之道:从小工到专家. 1.1什么是PostgreSQL
- PostgreSQL修炼之道:从小工到专家. 3.2 DDL语句
- PostgreSQL-14 安装配置
- PostgreSQL/pgsql 为表添加列/ 判断列存不存在再添加列
- postgresql中的序列nextval
- PostgreSQL/PPAS CPU使用率高的排查及解决办法
- PostgreSQL性能极限
- pg_dump - 将一个PostgreSQL数据库抽出到一个脚本文件或者其它归档文件中
- Centos7下源编译安装Postgresql 并设置开机自动启动postgresql.serivce 服务相关研究
- PostgreSQL-查询所有索引
- 【5分钟】W10 64bit系统本地安装postgresql 11
- PostgreSQL小知识:column "..." does not exist、字符串转整数integer、sql排查错误
- Java向PostgreSQL发送prepared statement 与 libpq 向PostgreSQL发送prepared statement之比较: