| The PostgreSQL 9.0 Reference Manual - Volume 3 - Server Administration Guide
by The PostgreSQL Global Development Group Paperback (6"x9"), 274 pages ISBN 9781906966072 RRP £9.95 ($14.95) Sales of this book support the PostgreSQL project! Get a printed copy>>> |
4.13 Preset Options
The following “parameters” are read-only, and are determined when PostgreSQL is compiled or when it is installed. As such, they have been excluded from the sample ‘postgresql.conf’ file. These options report various aspects of PostgreSQL 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
of
BLCKSZwhen building the server. The default value is 8192 bytes. The meaning of some configuration variables (such asshared_buffers) is influenced byblock_size. See section 4.4 Resource Consumption for information. integer_datetimes(boolean)-
Reports whether PostgreSQL was built with
support for 64-bit-integer dates and times. This can be
disabled by configuring with
--disable-integer-datetimeswhen building PostgreSQL. The default value ison. lc_collate(string)- Reports the locale in which sorting of textual data is done. See section 8.1 Locale Support for more information. This value is determined when a database is created.
lc_ctype(string)-
Reports the locale that determines character classifications.
See section 8.1 Locale Support for more information.
This value is determined when a database is created.
Ordinarily this will be the same as
lc_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 of
FUNC_MAX_ARGSwhen 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 of
NAMEDATALENwhen building the server. The default value ofNAMEDATALENis 64; therefore the defaultmax_identifier_lengthis 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 of
INDEX_MAX_KEYSwhen 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 of
RELSEG_SIZEwhen building the server. The maximum size of a segment file in bytes is equal tosegment_sizemultiplied 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 of
client_encoding. server_version(string)-
Reports the version number of the server. It is determined by the
value of
PG_VERSIONwhen building the server. server_version_num(integer)-
Reports the version number of the server as an integer. It is determined
by the value of
PG_VERSION_NUMwhen building the server. wal_block_size(integer)-
Reports the size of a WAL disk block. It is determined by the value
of
XLOG_BLCKSZwhen 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 to
wal_segment_sizemultiplied bywal_block_size; by default this is 16MB. See section 15.4 WAL Configuration for more information.
| ISBN 9781906966072 | The PostgreSQL 9.0 Reference Manual - Volume 3 - Server Administration Guide | See the print edition |