Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
19.15. Preset Options
Prev UpChapter 19. Server ConfigurationHome Next

19.15. Preset Options

The followingparameters are read-only, and are determined whenPostgreSQL is compiled or when it is installed. As such, they have been excluded from the samplepostgresql.conf file. These options report various aspects ofPostgreSQL behavior that might be of interest to certain applications, particularly administrative front-ends.

block_size (integer)

Reports the size of a disk block. It is determined by the value ofBLCKSZ when building the server. The default value is 8192 bytes. The meaning of some configuration variables (such asshared_buffers) is influenced byblock_size. SeeSection 19.4 for information.

data_checksums (boolean)

Reports whether data checksums are enabled for this cluster. Seedata checksums for more information.

debug_assertions (boolean)

Reports whetherPostgreSQL has been built with assertions enabled. That is the case if the macroUSE_ASSERT_CHECKING is defined whenPostgreSQL is built (accomplished e.g., by theconfigure option--enable-cassert). By defaultPostgreSQL is built without assertions.

integer_datetimes (boolean)

Reports whetherPostgreSQL was built with support for 64-bit-integer dates and times. This can be disabled by configuring with--disable-integer-datetimes when buildingPostgreSQL. The default value ison.

lc_collate (string)

Reports the locale in which sorting of textual data is done. SeeSection 23.1 for more information. This value is determined when a database is created.

lc_ctype (string)

Reports the locale that determines character classifications. SeeSection 23.1 for more information. This value is determined when a database is created. Ordinarily this will be the same aslc_collate, but for special applications it might be set differently.

max_function_args (integer)

Reports the maximum number of function arguments. It is determined by the value ofFUNC_MAX_ARGS when building the server. The default value is 100 arguments.

max_identifier_length (integer)

Reports the maximum identifier length. It is determined as one less than the value ofNAMEDATALEN when building the server. The default value ofNAMEDATALEN is 64; therefore the defaultmax_identifier_length is 63 bytes, which can be less than 63 characters when using multibyte encodings.

max_index_keys (integer)

Reports the maximum number of index keys. It is determined by the value ofINDEX_MAX_KEYS when building the server. The default value is 32 keys.

segment_size (integer)

Reports the number of blocks (pages) that can be stored within a file segment. It is determined by the value ofRELSEG_SIZE when building the server. The maximum size of a segment file in bytes is equal tosegment_size multiplied byblock_size; by default this is 1GB.

server_encoding (string)

Reports the database encoding (character set). It is determined when the database is created. Ordinarily, clients need only be concerned with the value ofclient_encoding.

server_version (string)

Reports the version number of the server. It is determined by the value ofPG_VERSION when building the server.

server_version_num (integer)

Reports the version number of the server as an integer. It is determined by the value ofPG_VERSION_NUM when building the server.

wal_block_size (integer)

Reports the size of a WAL disk block. It is determined by the value ofXLOG_BLCKSZ when building the server. The default value is 8192 bytes.

wal_segment_size (integer)

Reports the number of blocks (pages) in a WAL segment file. The total size of a WAL segment file in bytes is equal towal_segment_size multiplied bywal_block_size; by default this is 16MB. SeeSection 30.4 for more information.


Prev Up Next
19.14. Error Handling Home 19.16. Customized Options
epubpdf
Go to PostgreSQL 9.6
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp