pg_control_init()
是一个系统函数,它公开关于集群初始化状态的pg_control数据子集。
pg_control_init()
在PostgreSQL 9.6中添加。
示例
来自pg_control_init()
的示例输出
postgres=# SELECT * FROM pg_control_init(); -[ RECORD 1 ]--------------+--------- max_data_alignment | 8 database_block_size | 8192 blocks_per_segment | 131072 wal_block_size | 8192 bytes_per_wal_segment | 16777216 max_identifier_length | 64 max_index_columns | 32 max_toast_chunk_size | 1996 large_object_chunk_size | 2048 float4_pass_by_value | t float8_pass_by_value | t data_page_checksum_version | 1
参考文献
- PostgreSQL文档: pg_control_init()