目录
pg_aggregate
pg_am
pg_amop
pg_amproc
pg_attrdef
pg_attribute
pg_authid
pg_auth_members
pg_cast
pg_class
pg_collation
pg_constraint
pg_conversion
pg_database
pg_db_role_setting
pg_default_acl
pg_depend
pg_description
pg_enum
pg_event_trigger
pg_extension
pg_foreign_data_wrapper
pg_foreign_server
pg_foreign_table
pg_index
pg_inherits
pg_init_privs
pg_language
pg_largeobject
pg_largeobject_metadata
pg_namespace
pg_opclass
pg_operator
pg_opfamily
pg_parameter_acl
pg_partitioned_table
pg_policy
pg_proc
pg_publication
pg_publication_namespace
pg_publication_rel
pg_range
pg_replication_origin
pg_rewrite
pg_seclabel
pg_sequence
pg_shdepend
pg_shdescription
pg_shseclabel
pg_statistic
pg_statistic_ext
pg_statistic_ext_data
pg_subscription
pg_subscription_rel
pg_tablespace
pg_transform
pg_trigger
pg_ts_config
pg_ts_config_map
pg_ts_dict
pg_ts_parser
pg_ts_template
pg_type
pg_user_mapping
系统目录是关系数据库管理系统存储模式元数据(例如有关表和列的信息)和内部记账信息的地方。PostgreSQL 的系统目录是常规表。你可以删除并重新创建表、添加列、插入和更新值,并以这种方式严重搞乱你的系统。通常,不应该手动更改系统目录,通常有 SQL 命令可以执行此操作。(例如,CREATE DATABASE
会将一行插入到 pg_database
目录中,并实际在磁盘上创建数据库。)对于特别深奥的操作有一些例外,但随着时间的推移,其中许多操作已作为 SQL 命令提供,因此对系统目录的直接操作的需求正在不断减少。