【PostgreSQL】SHOW ALLやpg_settingsで設定値を一覧・検索する
SHOW ALLで設定値を一覧する PostgreSQLの全設定値を一覧するにはSHOW ALLコマンドを実行する。
SHOW ALL; name | setting | description ---------------------------------+---------+--------------------------------------------------------- application_name | psql | Sets the application name to be reported in statistics... archive_mode | off | Allows archiving of WAL files using archive_command. autovacuum | on | Starts the autovacuum subprocess. max_connections | 100 | Sets the maximum number of concurrent connections. shared_buffers | 16384 | Sets the number of shared memory buffers used by the ... work_mem | 4096 | Sets the maximum memory to be used for query workspaces. ・ ・ ・ (300 rows) 設定項目数は300件を超え(バージョンによって異なる)、name・setting・descriptionの3カラムのみが表示される。