バージョンごとのドキュメント一覧

20.15. 設定済みのオプション #

<title>Preset Options</title>

The following <quote>parameters</quote> are read-only. As such, they have been excluded from the sample <filename>postgresql.conf</filename> file. These options report various aspects of <productname>PostgreSQL</productname> behavior that might be of interest to certain applications, particularly administrative front-ends. Most of them are determined when <productname>PostgreSQL</productname> is compiled or when it is installed. 以下のパラメータは読み取り専用です。 そのため、これらはpostgresql.confのサンプルから除かれています。 このオプションは、特定のアプリケーション、特に管理用フロントエンドによって注目される可能性があるPostgreSQLの様々な部分の振舞いを報告します。 これらのうち多くはPostgreSQLのコンパイル時、もしくはインストール時に決定されます。

block_size (integer) #

Reports the size of a disk block. It is determined by the value of <literal>BLCKSZ</literal> when building the server. The default value is 8192 bytes. The meaning of some configuration variables (such as <xref linkend="guc-shared-buffers"/>) is influenced by <varname>block_size</varname>. See <xref linkend="runtime-config-resource"/> for information. ディスクブロックの容量を報告します。 サーバ構築の際にBLCKSZの値で決定されます。デフォルトの値は8192バイトです。 (shared_buffersの様な)いくつかの構成変数の意味はblock_sizeによって影響されます。 これに関しての情報は20.4を参照してください。

data_checksums (boolean) #

Reports whether data checksums are enabled for this cluster. See <xref linkend="app-initdb-data-checksums"/> for more information. このクラスタでデータチェックサムが有効になっているかどうかを報告します。 詳細はdata checksumsを見てください。

data_directory_mode (integer) #

On Unix systems this parameter reports the permissions the data directory (defined by <xref linkend="guc-data-directory"/>) had at server startup. (On Microsoft Windows this parameter will always display <literal>0700</literal>.) See <xref linkend="app-initdb-allow-group-access"/> for more information. このパラメータは、Unixシステムでは起動時のデータディレクトリのパーミッション(data_directoryにより定義されます)を報告します。 (Microsoft Windowsではこのパラメータは常に0700を表示します。) さらなる情報はgroup accessをご覧ください。

debug_assertions (boolean) #

Reports whether <productname>PostgreSQL</productname> has been built with assertions enabled. That is the case if the macro <symbol>USE_ASSERT_CHECKING</symbol> is defined when <productname>PostgreSQL</productname> is built (accomplished e.g., by the <command>configure</command> option <option>&#45;-enable-cassert</option>). By default <productname>PostgreSQL</productname> is built without assertions. PostgreSQLがアサーションを有効にしてビルドされているかどうかを報告します。 これは、USE_ASSERT_CHECKINGマクロがPostgreSQLをビルドされた際に定義されている場合(つまり、configureオプションの--enable-cassertが適用されている)に該当します。 デフォルトではPostgreSQLは、アサーションなしにビルドされます。

integer_datetimes (boolean) #

Reports whether <productname>PostgreSQL</productname> was built with support for 64-bit-integer dates and times. As of <productname>PostgreSQL</productname> 10, this is always <literal>on</literal>. PostgreSQLが64ビット整数による日付と時刻のサポート付きで構築されたかどうかを報告します。 PostgreSQL 10では、これは常にonです。

in_hot_standby (boolean) #

Reports whether the server is currently in hot standby mode. When this is <literal>on</literal>, all transactions are forced to be read-only. Within a session, this can change only if the server is promoted to be primary. See <xref linkend="hot-standby"/> for more information. サーバが現在ホットスタンバイモードかどうかを報告します。 これがonの時は、すべてのトランザクションは読み取り専用を強制されます。 セッション中ではこれはサーバがプライマリに昇格するときだけ変更できます。 詳細は27.4をご覧ください。

max_function_args (integer) #

Reports the maximum number of function arguments. It is determined by the value of <literal>FUNC_MAX_ARGS</literal> when building the server. The default value is 100 arguments. 関数の引数の最大数を報告します。 サーバを構築する時、FUNC_MAX_ARGSの値で決定されます。 デフォルトの値は100引数です。

max_identifier_length (integer) #

Reports the maximum identifier length. It is determined as one less than the value of <literal>NAMEDATALEN</literal> when building the server. The default value of <literal>NAMEDATALEN</literal> is 64; therefore the default <varname>max_identifier_length</varname> is 63 bytes, which can be less than 63 characters when using multibyte encodings. 最長の識別子の長さを報告します。 サーバ構築時のNAMEDATALENの値より一つ少なく設定されます。 デフォルトのNAMEDATALENの値は64ですので、デフォルトのmax_identifier_lengthは63バイトで、マルチバイト符号化方式を使用している場合、63文字以下になることがあります。

max_index_keys (integer) #

Reports the maximum number of index keys. It is determined by the value of <literal>INDEX_MAX_KEYS</literal> when building the server. The default value is 32 keys. インデックスキーの最大数を報告します。サーバをビルドする際にINDEX_MAX_KEYSの値で決定されます。デフォルトの値は32キーです。

segment_size (integer) #

Reports the number of blocks (pages) that can be stored within a file segment. It is determined by the value of <literal>RELSEG_SIZE</literal> when building the server. The maximum size of a segment file in bytes is equal to <varname>segment_size</varname> multiplied by <varname>block_size</varname>; by default this is 1GB. あるファイルセグメントの中に格納できるブロック数(ページ数)を報告します。 サーバ構築時にRELSEG_SIZEの値で決定されます。 バイト単位の一セグメントファイルの最大容量は、block_size倍のsegment_sizeと等しくなります。デフォルトでは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 <xref linkend="guc-client-encoding"/>. データベース符号化方式(文字セット)を報告します。 データベースが作成された時に決定されます。通常クライアントはclient_encodingの値にのみ注意する必要があります。

server_version (string) #

Reports the version number of the server. It is determined by the value of <literal>PG_VERSION</literal> when building the server. サーバのバージョン番号を報告します。 サーバ構築の際のPG_VERSIONの値によって決定されます。

server_version_num (integer) #

Reports the version number of the server as an integer. It is determined by the value of <literal>PG_VERSION_NUM</literal> when building the server. サーバのバージョン番号を整数として返します。 この値は、サーバ構築時のPG_VERSION_NUMの値により決まります。

shared_memory_size (integer) #

Reports the size of the main shared memory area, rounded up to the nearest megabyte. 主共有メモリ領域のサイズを報告します。 最も近いメガバイト単位に切り上げられます。

shared_memory_size_in_huge_pages (integer) #

Reports the number of huge pages that are needed for the main shared memory area based on the specified <xref linkend="guc-huge-page-size"/>. If huge pages are not supported, this will be <literal>-1</literal>. 指定されたhuge_page_sizeに基づいて、主共有メモリ領域に必要な巨大ページの数を報告します。 巨大ページがサポートされていない場合、-1になります。

This setting is supported only on <productname>Linux</productname>. It is always set to <literal>-1</literal> on other platforms. For more details about using huge pages on <productname>Linux</productname>, see <xref linkend="linux-huge-pages"/>. この設定はLinuxでのみサポートされています。 他のプラットフォームでは常に-1に設定されます。 Linuxで巨大なページを使うための詳細は19.4.5を参照してください。

ssl_library (string) #

Reports the name of the SSL library that this <productname>PostgreSQL</productname> server was built with (even if SSL is not currently configured or in use on this instance), for example <literal>OpenSSL</literal>, or an empty string if none. (このインスタンスでSSLが設定あるいは使用されていなくても)このPostgreSQLサーバの構築時に使用されたSSLライブラリの名前、たとえばOpenSSLあるいは空文字列、を報告します。

wal_block_size (integer) #

Reports the size of a WAL disk block. It is determined by the value of <literal>XLOG_BLCKSZ</literal> when building the server. The default value is 8192 bytes. WALディスクブロックの容量を報告します。 サーバ構築時にXLOG_BLCKSZの値で決定されます。デフォルトの値は8192バイトです。

wal_segment_size (integer) #

Reports the size of write ahead log segments. The default value is 16MB. See <xref linkend="wal-configuration"/> for more information. ログ先行書き込みのセグメントの大きさを報告します。 デフォルト値は16MBです。 さらなる詳細については30.5をご覧ください。