PostgreSQL 9.4 官方文档

Commands

  • ABORT
  • ALTER AGGREGATE
  • ALTER COLLATION
  • ALTER CONVERSION
  • ALTER DATABASE
  • ALTER DEFAULT PRIVILEGES
  • ALTER DOMAIN
  • ALTER EVENT TRIGGER
  • ALTER EXTENSION
  • ALTER FOREIGN DATA WRAPPER
  • ALTER FOREIGN TABLE
  • ALTER FUNCTION
  • ALTER GROUP
  • ALTER INDEX
  • ALTER LANGUAGE
  • ALTER LARGE OBJECT
  • ALTER MATERIALIZED VIEW
  • ALTER OPERATOR
  • ALTER OPERATOR CLASS
  • ALTER OPERATOR FAMILY
  • ALTER ROLE
  • ALTER RULE
  • ALTER SCHEMA
  • ALTER SEQUENCE
  • ALTER SERVER
  • ALTER SYSTEM
  • ALTER TABLE
  • ALTER TABLESPACE
  • ALTER TEXT SEARCH CONFIGURATION
  • ALTER TEXT SEARCH DICTIONARY
  • ALTER TEXT SEARCH PARSER
  • ALTER TEXT SEARCH TEMPLATE
  • ALTER TRIGGER
  • ALTER TYPE
  • ALTER USER
  • ALTER USER MAPPING
  • ALTER VIEW
  • ANALYZE
  • BEGIN
  • CHECKPOINT
  • CLOSE
  • CLUSTER
  • COMMENT
  • COMMIT
  • COMMIT PREPARED
  • COPY
  • CREATE AGGREGATE
  • CREATE CAST
  • CREATE COLLATION
  • CREATE CONVERSION
  • CREATE DATABASE
  • CREATE DOMAIN
  • CREATE EVENT TRIGGER
  • CREATE EXTENSION
  • CREATE FOREIGN DATA WRAPPER
  • CREATE FOREIGN TABLE
  • CREATE FUNCTION
  • CREATE GROUP
  • CREATE INDEX
  • CREATE LANGUAGE
  • CREATE MATERIALIZED VIEW
  • CREATE OPERATOR
  • CREATE OPERATOR CLASS
  • CREATE OPERATOR FAMILY
  • CREATE ROLE
  • CREATE RULE
  • CREATE SCHEMA
  • CREATE SEQUENCE
  • CREATE SERVER
  • CREATE TABLE
  • CREATE TABLE AS
  • CREATE TABLESPACE
  • CREATE TEXT SEARCH CONFIGURATION
  • CREATE TEXT SEARCH DICTIONARY
  • CREATE TEXT SEARCH PARSER
  • CREATE TEXT SEARCH TEMPLATE
  • CREATE TRIGGER
  • CREATE TYPE
  • CREATE USER
  • CREATE USER MAPPING
  • CREATE VIEW
  • DEALLOCATE
  • DECLARE
  • DELETE
  • DISCARD
  • DO
  • DROP AGGREGATE
  • DROP CAST
  • DROP COLLATION
  • DROP CONVERSION
  • DROP DATABASE
  • DROP DOMAIN
  • DROP EVENT TRIGGER
  • DROP EXTENSION
  • DROP FOREIGN DATA WRAPPER
  • DROP FOREIGN TABLE
  • DROP FUNCTION
  • DROP GROUP
  • DROP INDEX
  • DROP LANGUAGE
  • DROP MATERIALIZED VIEW
  • DROP OPERATOR
  • DROP OPERATOR CLASS
  • DROP OPERATOR FAMILY
  • DROP OWNED
  • DROP ROLE
  • DROP RULE
  • DROP SCHEMA
  • DROP SEQUENCE
  • DROP SERVER
  • DROP TABLE
  • DROP TABLESPACE
  • DROP TEXT SEARCH CONFIGURATION
  • DROP TEXT SEARCH DICTIONARY
  • DROP TEXT SEARCH PARSER
  • DROP TEXT SEARCH TEMPLATE
  • DROP TRIGGER
  • DROP TYPE
  • DROP USER
  • DROP USER MAPPING
  • DROP VIEW
  • END
  • EXECUTE
  • EXPLAIN
  • FETCH
  • GRANT
  • INSERT
  • LISTEN
  • LOAD
  • LOCK
  • MOVE
  • NOTIFY
  • PREPARE
  • PREPARE TRANSACTION
  • REASSIGN OWNED
  • REFRESH MATERIALIZED VIEW
  • REINDEX
  • RELEASE SAVEPOINT
  • RESET
  • REVOKE
  • ROLLBACK
  • ROLLBACK PREPARED
  • ROLLBACK TO SAVEPOINT
  • SAVEPOINT
  • SECURITY LABEL
  • SELECT
  • SELECT ... DISTINCT
  • SELECT ... EXCEPT
  • SELECT ... FROM
  • SELECT ... GROUP BY
  • SELECT ... HAVING
  • SELECT ... INTERSECT
  • SELECT ... LIMIT
  • SELECT ... ORDER BY
  • SELECT ... UNION
  • SELECT ... WHERE
  • SELECT ... WINDOW
  • SELECT ... WITH
  • SELECT INTO
  • SET
  • SET CONSTRAINTS
  • SET ROLE
  • SET SESSION AUTHORIZATION
  • SET TRANSACTION
  • SHOW
  • START TRANSACTION
  • TRUNCATE
  • UNLISTEN
  • UPDATE
  • VACUUM
  • VALUES
  • Functions: System Administration

  • Administration Functions
  • System Administration: current_setting
  • System Administration: pg_advisory_lock
  • System Administration: pg_advisory_lock_shared
  • System Administration: pg_advisory_unlock
  • System Administration: pg_advisory_unlock_all
  • System Administration: pg_advisory_unlock_shared
  • System Administration: pg_advisory_xact_lock
  • System Administration: pg_advisory_xact_lock_shared
  • System Administration: pg_backup_start_time
  • System Administration: pg_cancel_backend
  • System Administration: pg_column_size
  • System Administration: pg_create_logical_replication_slot
  • System Administration: pg_create_physical_replication_slot
  • System Administration: pg_create_restore_point
  • System Administration: pg_current_xlog_insert_location
  • System Administration: pg_current_xlog_location
  • System Administration: pg_database_size
  • System Administration: pg_drop_replication_slot
  • System Administration: pg_export_snapshot
  • System Administration: pg_filenode_relation
  • System Administration: pg_indexes_size
  • System Administration: pg_is_in_backup
  • System Administration: pg_is_in_recovery
  • System Administration: pg_is_xlog_replay_paused
  • System Administration: pg_last_xact_replay_timestamp
  • System Administration: pg_last_xlog_receive_location
  • System Administration: pg_last_xlog_replay_location
  • System Administration: pg_logical_slot_get_binary_changes
  • System Administration: pg_logical_slot_get_changes
  • System Administration: pg_logical_slot_peek_binary_changes
  • System Administration: pg_logical_slot_peek_changes
  • System Administration: pg_ls_dir
  • System Administration: pg_read_binary_file
  • System Administration: pg_read_file
  • System Administration: pg_relation_filenode
  • System Administration: pg_relation_filepath
  • System Administration: pg_relation_size
  • System Administration: pg_reload_conf
  • System Administration: pg_rotate_logfile
  • System Administration: pg_size_pretty
  • System Administration: pg_start_backup
  • System Administration: pg_stat_file
  • System Administration: pg_stop_backup
  • System Administration: pg_switch_xlog
  • System Administration: pg_tablespace_size
  • System Administration: pg_table_size
  • System Administration: pg_terminate_backend
  • System Administration: pg_total_relation_size
  • System Administration: pg_try_advisory_lock
  • System Administration: pg_try_advisory_lock_shared
  • System Administration: pg_try_advisory_xact_lock
  • System Administration: pg_try_advisory_xact_lock_shared
  • System Administration: pg_xlogfile_name
  • System Administration: pg_xlogfile_name_offset
  • System Administration: pg_xlog_location_diff
  • System Administration: pg_xlog_replay_pause
  • System Administration: pg_xlog_replay_resume
  • System Administration: set_config
  • Data Types

  • Arrays
  • Binary Data Types
  • Binary Data Types: bytea
  • Bit String Types
  • Boolean Type
  • Boolean Type: boolean
  • Character Types
  • Character Types: "char"
  • Character Types: char
  • Character Types: character
  • Character Types: character varying
  • Character Types: name
  • Character Types: text
  • Character Types: varchar
  • Composite Types
  • Date/Time Types
  • Date/Time Types: date
  • Date/Time Types: interval
  • Date/Time Types: time
  • Date/Time Types: time with time zone
  • Date/Time Types: timestamp
  • Date/Time Types: timestamp with time zone
  • Enumerated Types
  • Geometric Types
  • Geometric Types: box
  • Geometric Types: circle
  • Geometric Types: line
  • Geometric Types: lseg
  • Geometric Types: path
  • Geometric Types: point
  • Geometric Types: polygon
  • JSON Types
  • JSON Types: boolean
  • JSON Types: null
  • JSON Types: number
  • JSON Types: string
  • Monetary Types
  • Network Address Types
  • Network Address Types: cidr
  • Network Address Types: inet
  • Network Address Types: macaddr
  • Numeric Types
  • Numeric Types: bigint
  • Numeric Types: bigserial
  • Numeric Types: decimal
  • Numeric Types: double precision
  • Numeric Types: integer
  • Numeric Types: numeric
  • Numeric Types: real
  • Numeric Types: serial
  • Numeric Types: smallint
  • Numeric Types: smallserial
  • Object Identifier Types
  • Object Identifier Types: oid
  • Object Identifier Types: regclass
  • Object Identifier Types: regconfig
  • Object Identifier Types: regdictionary
  • Object Identifier Types: regoper
  • Object Identifier Types: regoperator
  • Object Identifier Types: regproc
  • Object Identifier Types: regprocedure
  • Object Identifier Types: regtype
  • pg_lsn Type
  • Pseudo-Types
  • Pseudo-Types: any
  • Pseudo-Types: anyarray
  • Pseudo-Types: anyelement
  • Pseudo-Types: anyenum
  • Pseudo-Types: anynonarray
  • Pseudo-Types: anyrange
  • Pseudo-Types: cstring
  • Pseudo-Types: event_trigger
  • Pseudo-Types: fdw_handler
  • Pseudo-Types: internal
  • Pseudo-Types: language_handler
  • Pseudo-Types: opaque
  • Pseudo-Types: record
  • Pseudo-Types: trigger
  • Pseudo-Types: void
  • Range Types
  • Range Types: daterange
  • Range Types: int4range
  • Range Types: int8range
  • Range Types: numrange
  • Range Types: tsrange
  • Range Types: tstzrange
  • Text Search Types
  • Text Search Types: tsquery
  • Text Search Types: tsvector
  • UUID Type
  • XML Type
  • Internals: Catalogs

  • Catalogs: pg_aggregate
  • Catalogs: pg_am
  • Catalogs: pg_amop
  • Catalogs: pg_amproc
  • Catalogs: pg_attrdef
  • Catalogs: pg_attribute
  • Catalogs: pg_authid
  • Catalogs: pg_auth_members
  • Catalogs: pg_available_extensions
  • Catalogs: pg_available_extension_versions
  • Catalogs: pg_cast
  • Catalogs: pg_class
  • Catalogs: pg_collation
  • Catalogs: pg_constraint
  • Catalogs: pg_conversion
  • Catalogs: pg_cursors
  • Catalogs: pg_database
  • Catalogs: pg_db_role_setting
  • Catalogs: pg_default_acl
  • Catalogs: pg_depend
  • Catalogs: pg_description
  • Catalogs: pg_enum
  • Catalogs: pg_event_trigger
  • Catalogs: pg_extension
  • Catalogs: pg_foreign_data_wrapper
  • Catalogs: pg_foreign_server
  • Catalogs: pg_foreign_table
  • Catalogs: pg_group
  • Catalogs: pg_index
  • Catalogs: pg_indexes
  • Catalogs: pg_inherits
  • Catalogs: pg_language
  • Catalogs: pg_largeobject
  • Catalogs: pg_largeobject_metadata
  • Catalogs: pg_locks
  • Catalogs: pg_matviews
  • Catalogs: pg_namespace
  • Catalogs: pg_opclass
  • Catalogs: pg_operator
  • Catalogs: pg_opfamily
  • Catalogs: pg_pltemplate
  • Catalogs: pg_prepared_statements
  • Catalogs: pg_prepared_xacts
  • Catalogs: pg_proc
  • Catalogs: pg_range
  • Catalogs: pg_replication_slots
  • Catalogs: pg_rewrite
  • Catalogs: pg_roles
  • Catalogs: pg_rules
  • Catalogs: pg_seclabel
  • Catalogs: pg_seclabels
  • Catalogs: pg_settings
  • Catalogs: pg_shadow
  • Catalogs: pg_shdepend
  • Catalogs: pg_shdescription
  • Catalogs: pg_shseclabel
  • Catalogs: pg_statistic
  • Catalogs: pg_stats
  • Catalogs: pg_tables
  • Catalogs: pg_tablespace
  • Catalogs: pg_timezone_abbrevs
  • Catalogs: pg_timezone_names
  • Catalogs: pg_trigger
  • Catalogs: pg_ts_config
  • Catalogs: pg_ts_config_map
  • Catalogs: pg_ts_dict
  • Catalogs: pg_ts_parser
  • Catalogs: pg_ts_template
  • Catalogs: pg_type
  • Catalogs: pg_user
  • Catalogs: pg_user_mapping
  • Catalogs: pg_user_mappings
  • Catalogs: pg_views
  • Catalogs: System Views
  • System Catalogs
  • Server Configuration

  • Config: allow_system_table_mods
  • Config: application_name
  • Config: archive_command
  • Config: archive_mode
  • Config: archive_timeout
  • Config: array_nulls
  • Config: authentication_timeout
  • Config: autovacuum
  • Config: autovacuum_analyze_scale_factor
  • Config: autovacuum_analyze_threshold
  • Config: autovacuum_freeze_max_age
  • Config: autovacuum_max_workers
  • Config: autovacuum_multixact_freeze_max_age
  • Config: autovacuum_naptime
  • Config: autovacuum_vacuum_cost_delay
  • Config: autovacuum_vacuum_cost_limit
  • Config: autovacuum_vacuum_scale_factor
  • Config: autovacuum_vacuum_threshold
  • Config: autovacuum_work_mem
  • Config: backslash_quote
  • Config: bgwriter_delay
  • Config: bgwriter_lru_maxpages
  • Config: bgwriter_lru_multiplier
  • Config: block_size
  • Config: bonjour
  • Config: bonjour_name
  • Config: bytea_output
  • Config: checkpoint_completion_target
  • Config: checkpoint_segments
  • Config: checkpoint_timeout
  • Config: checkpoint_warning
  • Config: check_function_bodies
  • Config: client_encoding
  • Config: client_min_messages
  • Config: commit_delay
  • Config: commit_siblings
  • Config: config_file
  • Config: constraint_exclusion
  • Config: cpu_index_tuple_cost
  • Config: cpu_operator_cost
  • Config: cpu_tuple_cost
  • Config: cursor_tuple_fraction
  • Config: data_checksums
  • Config: data_directory
  • Config: DateStyle
  • Config: db_user_namespace
  • Config: deadlock_timeout
  • Config: debug_assertions
  • Config: default_statistics_target
  • Config: default_tablespace
  • Config: default_text_search_config
  • Config: default_transaction_deferrable
  • Config: default_transaction_isolation
  • Config: default_transaction_read_only
  • Config: default_with_oids
  • Config: dynamic_library_path
  • Config: dynamic_shared_memory_type
  • Config: effective_cache_size
  • Config: effective_io_concurrency
  • Config: enable_bitmapscan
  • Config: enable_hashagg
  • Config: enable_hashjoin
  • Config: enable_indexonlyscan
  • Config: enable_indexscan
  • Config: enable_material
  • Config: enable_mergejoin
  • Config: enable_nestloop
  • Config: enable_seqscan
  • Config: enable_sort
  • Config: enable_tidscan
  • Config: escape_string_warning
  • Config: event_source
  • Config: exit_on_error
  • Config: external_pid_file
  • Config: extra_float_digits
  • Config: from_collapse_limit
  • Config: fsync
  • Config: full_page_writes
  • Config: geqo
  • Config: geqo_effort
  • Config: geqo_generations
  • Config: geqo_pool_size
  • Config: geqo_seed
  • Config: geqo_selection_bias
  • Config: geqo_threshold
  • Config: gin_fuzzy_search_limit
  • Config: hba_file
  • Config: hot_standby
  • Config: hot_standby_feedback
  • Config: huge_pages
  • Config: ident_file
  • Config: ignore_checksum_failure
  • Config: ignore_system_indexes
  • Config: integer_datetimes
  • Config: IntervalStyle
  • Config: join_collapse_limit
  • Config: krb_caseins_users
  • Config: krb_server_keyfile
  • Config: lc_collate
  • Config: lc_ctype
  • Config: lc_messages
  • Config: lc_monetary
  • Config: lc_numeric
  • Config: lc_time
  • Config: listen_addresses
  • Config: local_preload_libraries
  • Config: lock_timeout
  • Config: logging_collector
  • Config: log_autovacuum_min_duration
  • Config: log_checkpoints
  • Config: log_connections
  • Config: log_destination
  • Config: log_directory
  • Config: log_disconnections
  • Config: log_duration
  • Config: log_error_verbosity
  • Config: log_filename
  • Config: log_file_mode
  • Config: log_hostname
  • Config: log_line_prefix
  • Config: log_lock_waits
  • Config: log_min_duration_statement
  • Config: log_min_error_statement
  • Config: log_min_messages
  • Config: log_rotation_age
  • Config: log_rotation_size
  • Config: log_statement
  • Config: log_temp_files
  • Config: log_timezone
  • Config: log_truncate_on_rotation
  • Config: lo_compat_privileges
  • Config: maintenance_work_mem
  • Config: max_connections
  • Config: max_files_per_process
  • Config: max_function_args
  • Config: max_identifier_length
  • Config: max_index_keys
  • Config: max_locks_per_transaction
  • Config: max_pred_locks_per_transaction
  • Config: max_prepared_transactions
  • Config: max_replication_slots
  • Config: max_stack_depth
  • Config: max_standby_archive_delay
  • Config: max_standby_streaming_delay
  • Config: max_wal_senders
  • Config: max_worker_processes
  • Config: password_encryption
  • Config: port
  • Config: post_auth_delay
  • Config: pre_auth_delay
  • Config: quote_all_identifiers
  • Config: random_page_cost
  • Config: restart_after_crash
  • Config: search_path
  • Config: segment_size
  • Config: seq_page_cost
  • Config: server_encoding
  • Config: server_version
  • Config: server_version_num
  • Config: session_preload_libraries
  • Config: session_replication_role
  • Config: shared_buffers
  • Config: shared_preload_libraries
  • Config: sql_inheritance
  • Config: ssl
  • Config: ssl_ca_file
  • Config: ssl_cert_file
  • Config: ssl_ciphers
  • Config: ssl_crl_file
  • Config: ssl_ecdh_curve
  • Config: ssl_key_file
  • Config: ssl_prefer_server_ciphers
  • Config: ssl_renegotiation_limit
  • Config: standard_conforming_strings
  • Config: statement_timeout
  • Config: stats_temp_directory
  • Config: superuser_reserved_connections
  • Config: synchronize_seqscans
  • Config: synchronous_commit
  • Config: synchronous_standby_names
  • Config: syslog_facility
  • Config: syslog_ident
  • Config: tcp_keepalives_count
  • Config: tcp_keepalives_idle
  • Config: tcp_keepalives_interval
  • Config: temp_buffers
  • Config: temp_file_limit
  • Config: temp_tablespaces
  • Config: TimeZone
  • Config: timezone_abbreviations
  • Config: trace_notify
  • Config: trace_recovery_messages
  • Config: trace_sort
  • Config: track_activities
  • Config: track_activity_query_size
  • Config: track_counts
  • Config: track_functions
  • Config: track_io_timing
  • Config: transform_null_equals
  • Config: unix_socket_directories
  • Config: unix_socket_group
  • Config: unix_socket_permissions
  • Config: update_process_title
  • Config: vacuum_cost_delay
  • Config: vacuum_cost_limit
  • Config: vacuum_cost_page_dirty
  • Config: vacuum_cost_page_hit
  • Config: vacuum_cost_page_miss
  • Config: vacuum_defer_cleanup_age
  • Config: vacuum_freeze_min_age
  • Config: vacuum_freeze_table_age
  • Config: vacuum_multixact_freeze_min_age
  • Config: vacuum_multixact_freeze_table_age
  • Config: wal_block_size
  • Config: wal_buffers
  • Config: wal_debug
  • Config: wal_keep_segments
  • Config: wal_level
  • Config: wal_log_hints
  • Config: wal_receiver_status_interval
  • Config: wal_receiver_timeout
  • Config: wal_segment_size
  • Config: wal_sender_timeout
  • Config: wal_sync_method
  • Config: wal_writer_delay
  • Config: work_mem
  • Config: xmlbinary
  • Config: xmloption
  • Config: zero_damaged_pages
  • Server Configuration: Automatic Vacuuming
  • Server Configuration: Client Connection Defaults
  • Server Configuration: Connections and Authentication
  • Server Configuration: Customized Options
  • Server Configuration: Developer Options
  • Server Configuration: Error Handling
  • Server Configuration: Error Reporting and Logging
  • Server Configuration: File Locations
  • Server Configuration: Lock Management
  • Server Configuration: Preset Options
  • Server Configuration: Query Planning
  • Server Configuration: Replication
  • Server Configuration: Resource Consumption
  • Server Configuration: Run-time Statistics
  • Server Configuration: Setting Parameters
  • Server Configuration: Short Options
  • Server Configuration: Version and Platform Compatibility
  • Server Configuration: Write Ahead Log
  • Functions: System Information

  • Information Functions
  • System Information: collation for
  • System Information: col_description
  • System Information: current_catalog
  • System Information: current_database
  • System Information: current_query
  • System Information: current_role
  • System Information: current_schema
  • System Information: current_schemas
  • System Information: current_user
  • System Information: format_type
  • System Information: has_any_column_privilege
  • System Information: has_column_privilege
  • System Information: has_database_privilege
  • System Information: has_foreign_data_wrapper_privilege
  • System Information: has_function_privilege
  • System Information: has_language_privilege
  • System Information: has_schema_privilege
  • System Information: has_sequence_privilege
  • System Information: has_server_privilege
  • System Information: has_tablespace_privilege
  • System Information: has_table_privilege
  • System Information: has_type_privilege
  • System Information: inet_client_addr
  • System Information: inet_client_port
  • System Information: inet_server_addr
  • System Information: inet_server_port
  • System Information: obj_description
  • System Information: pg_backend_pid
  • System Information: pg_collation_is_visible
  • System Information: pg_conf_load_time
  • System Information: pg_conversion_is_visible
  • System Information: pg_describe_object
  • System Information: pg_function_is_visible
  • System Information: pg_get_constraintdef
  • System Information: pg_get_expr
  • System Information: pg_get_functiondef
  • System Information: pg_get_function_arguments
  • System Information: pg_get_function_identity_arguments
  • System Information: pg_get_function_result
  • System Information: pg_get_indexdef
  • System Information: pg_get_keywords
  • System Information: pg_get_ruledef
  • System Information: pg_get_serial_sequence
  • System Information: pg_get_triggerdef
  • System Information: pg_get_userbyid
  • System Information: pg_get_viewdef
  • System Information: pg_has_role
  • System Information: pg_identify_object
  • System Information: pg_is_other_temp_schema
  • System Information: pg_listening_channels
  • System Information: pg_my_temp_schema
  • System Information: pg_opclass_is_visible
  • System Information: pg_operator_is_visible
  • System Information: pg_opfamily_is_visible
  • System Information: pg_options_to_table
  • System Information: pg_postmaster_start_time
  • System Information: pg_tablespace_databases
  • System Information: pg_tablespace_location
  • System Information: pg_table_is_visible
  • System Information: pg_trigger_depth
  • System Information: pg_ts_config_is_visible
  • System Information: pg_ts_dict_is_visible
  • System Information: pg_ts_parser_is_visible
  • System Information: pg_ts_template_is_visible
  • System Information: pg_typeof
  • System Information: pg_type_is_visible
  • System Information: session_user
  • System Information: shobj_description
  • System Information: to_regclass
  • System Information: to_regoper
  • System Information: to_regoperator
  • System Information: to_regproc
  • System Information: to_regprocedure
  • System Information: to_regtype
  • System Information: txid_current
  • System Information: txid_current_snapshot
  • System Information: txid_snapshot_xip
  • System Information: txid_snapshot_xmax
  • System Information: txid_snapshot_xmin
  • System Information: txid_visible_in_snapshot
  • System Information: user
  • System Information: version
  • Index

  • index