Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
bae2116a
Commit
bae2116a
authored
Nov 21, 2008
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document which GUC settings are enums and not strings, along with a short
paragraph about what that means.
parent
e5c032d8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
18 deletions
+25
-18
doc/src/sgml/config.sgml
doc/src/sgml/config.sgml
+25
-18
No files found.
doc/src/sgml/config.sgml
View file @
bae2116a
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.19
6 2008/11/20 20:45:29 momjian
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.19
7 2008/11/21 19:42:12 mha
Exp $ -->
<chapter Id="runtime-config">
<chapter Id="runtime-config">
<title>Server Configuration</title>
<title>Server Configuration</title>
...
@@ -20,8 +20,8 @@
...
@@ -20,8 +20,8 @@
<para>
<para>
All parameter names are case-insensitive. Every parameter takes a
All parameter names are case-insensitive. Every parameter takes a
value of one of f
our
types: Boolean, integer, floating point,
value of one of f
ive
types: Boolean, integer, floating point,
or string
. Boolean values can be written as <literal>ON</literal>,
string or enum
. Boolean values can be written as <literal>ON</literal>,
<literal>OFF</literal>, <literal>TRUE</literal>,
<literal>OFF</literal>, <literal>TRUE</literal>,
<literal>FALSE</literal>, <literal>YES</literal>,
<literal>FALSE</literal>, <literal>YES</literal>,
<literal>NO</literal>, <literal>1</literal>, <literal>0</literal>
<literal>NO</literal>, <literal>1</literal>, <literal>0</literal>
...
@@ -42,6 +42,13 @@
...
@@ -42,6 +42,13 @@
for memory units is 1024, not 1000.
for memory units is 1024, not 1000.
</para>
</para>
<para>
Settings of type 'enum' are specified the same way at string settings,
but are restricted to a limited range of values. To find available
values, look at <literal>pg_settings.enumvals</>. Enum settings are
case insensitive.
</para>
<para>
<para>
One way to set these parameters is to edit the file
One way to set these parameters is to edit the file
<filename>postgresql.conf</><indexterm><primary>postgresql.conf</></>,
<filename>postgresql.conf</><indexterm><primary>postgresql.conf</></>,
...
@@ -1329,7 +1336,7 @@ SET ENABLE_SEQSCAN TO OFF;
...
@@ -1329,7 +1336,7 @@ SET ENABLE_SEQSCAN TO OFF;
</varlistentry>
</varlistentry>
<varlistentry id="guc-wal-sync-method" xreflabel="wal_sync_method">
<varlistentry id="guc-wal-sync-method" xreflabel="wal_sync_method">
<term><varname>wal_sync_method</varname> (<type>
string
</type>)</term>
<term><varname>wal_sync_method</varname> (<type>
enum
</type>)</term>
<indexterm>
<indexterm>
<primary><varname>wal_sync_method</> configuration parameter</primary>
<primary><varname>wal_sync_method</> configuration parameter</primary>
</indexterm>
</indexterm>
...
@@ -2464,7 +2471,7 @@ local0.* /var/log/postgresql
...
@@ -2464,7 +2471,7 @@ local0.* /var/log/postgresql
</varlistentry>
</varlistentry>
<varlistentry id="guc-syslog-facility" xreflabel="syslog_facility">
<varlistentry id="guc-syslog-facility" xreflabel="syslog_facility">
<term><varname>syslog_facility</varname> (<type>
string
</type>)</term>
<term><varname>syslog_facility</varname> (<type>
enum
</type>)</term>
<indexterm>
<indexterm>
<primary><varname>syslog_facility</> configuration parameter</primary>
<primary><varname>syslog_facility</> configuration parameter</primary>
</indexterm>
</indexterm>
...
@@ -2511,7 +2518,7 @@ local0.* /var/log/postgresql
...
@@ -2511,7 +2518,7 @@ local0.* /var/log/postgresql
<variablelist>
<variablelist>
<varlistentry id="guc-client-min-messages" xreflabel="client_min_messages">
<varlistentry id="guc-client-min-messages" xreflabel="client_min_messages">
<term><varname>client_min_messages</varname> (<type>
string
</type>)</term>
<term><varname>client_min_messages</varname> (<type>
enum
</type>)</term>
<indexterm>
<indexterm>
<primary><varname>client_min_messages</> configuration parameter</primary>
<primary><varname>client_min_messages</> configuration parameter</primary>
</indexterm>
</indexterm>
...
@@ -2532,7 +2539,7 @@ local0.* /var/log/postgresql
...
@@ -2532,7 +2539,7 @@ local0.* /var/log/postgresql
</varlistentry>
</varlistentry>
<varlistentry id="guc-log-min-messages" xreflabel="log_min_messages">
<varlistentry id="guc-log-min-messages" xreflabel="log_min_messages">
<term><varname>log_min_messages</varname> (<type>
string
</type>)</term>
<term><varname>log_min_messages</varname> (<type>
enum
</type>)</term>
<indexterm>
<indexterm>
<primary><varname>log_min_messages</> configuration parameter</primary>
<primary><varname>log_min_messages</> configuration parameter</primary>
</indexterm>
</indexterm>
...
@@ -2554,7 +2561,7 @@ local0.* /var/log/postgresql
...
@@ -2554,7 +2561,7 @@ local0.* /var/log/postgresql
</varlistentry>
</varlistentry>
<varlistentry id="guc-log-error-verbosity" xreflabel="log_error_verbosity">
<varlistentry id="guc-log-error-verbosity" xreflabel="log_error_verbosity">
<term><varname>log_error_verbosity</varname> (<type>
string
</type>)</term>
<term><varname>log_error_verbosity</varname> (<type>
enum
</type>)</term>
<indexterm>
<indexterm>
<primary><varname>log_error_verbosity</> configuration parameter</primary>
<primary><varname>log_error_verbosity</> configuration parameter</primary>
</indexterm>
</indexterm>
...
@@ -2570,7 +2577,7 @@ local0.* /var/log/postgresql
...
@@ -2570,7 +2577,7 @@ local0.* /var/log/postgresql
</varlistentry>
</varlistentry>
<varlistentry id="guc-log-min-error-statement" xreflabel="log_min_error_statement">
<varlistentry id="guc-log-min-error-statement" xreflabel="log_min_error_statement">
<term><varname>log_min_error_statement</varname> (<type>
string
</type>)</term>
<term><varname>log_min_error_statement</varname> (<type>
enum
</type>)</term>
<indexterm>
<indexterm>
<primary><varname>log_min_error_statement</> configuration parameter</primary>
<primary><varname>log_min_error_statement</> configuration parameter</primary>
</indexterm>
</indexterm>
...
@@ -3056,7 +3063,7 @@ local0.* /var/log/postgresql
...
@@ -3056,7 +3063,7 @@ local0.* /var/log/postgresql
</varlistentry>
</varlistentry>
<varlistentry id="guc-log-statement" xreflabel="log_statement">
<varlistentry id="guc-log-statement" xreflabel="log_statement">
<term><varname>log_statement</varname> (<type>
string
</type>)</term>
<term><varname>log_statement</varname> (<type>
enum
</type>)</term>
<indexterm>
<indexterm>
<primary><varname>log_statement</> configuration parameter</primary>
<primary><varname>log_statement</> configuration parameter</primary>
</indexterm>
</indexterm>
...
@@ -3314,7 +3321,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
...
@@ -3314,7 +3321,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
</varlistentry>
</varlistentry>
<varlistentry id="guc-track-functions" xreflabel="track_functions">
<varlistentry id="guc-track-functions" xreflabel="track_functions">
<term><varname>track_functions</varname> (<type>
string
</type>)</term>
<term><varname>track_functions</varname> (<type>
enum
</type>)</term>
<indexterm>
<indexterm>
<primary><varname>track_functions</> configuration parameter</primary>
<primary><varname>track_functions</> configuration parameter</primary>
</indexterm>
</indexterm>
...
@@ -3828,7 +3835,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
...
@@ -3828,7 +3835,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
<indexterm>
<indexterm>
<primary><varname>default_transaction_isolation</> configuration parameter</primary>
<primary><varname>default_transaction_isolation</> configuration parameter</primary>
</indexterm>
</indexterm>
<term><varname>default_transaction_isolation</varname> (<type>
string
</type>)</term>
<term><varname>default_transaction_isolation</varname> (<type>
enum
</type>)</term>
<listitem>
<listitem>
<para>
<para>
Each SQL transaction has an isolation level, which can be
Each SQL transaction has an isolation level, which can be
...
@@ -3871,7 +3878,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
...
@@ -3871,7 +3878,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
</varlistentry>
</varlistentry>
<varlistentry id="guc-session-replication-role" xreflabel="session_replication_role">
<varlistentry id="guc-session-replication-role" xreflabel="session_replication_role">
<term><varname>session_replication_role</varname> (<type>
string
</type>)</term>
<term><varname>session_replication_role</varname> (<type>
enum
</type>)</term>
<indexterm>
<indexterm>
<primary><varname>session_replication_role</> configuration parameter</primary>
<primary><varname>session_replication_role</> configuration parameter</primary>
</indexterm>
</indexterm>
...
@@ -3933,7 +3940,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
...
@@ -3933,7 +3940,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
</varlistentry>
</varlistentry>
<varlistentry id="guc-xmlbinary" xreflabel="xmlbinary">
<varlistentry id="guc-xmlbinary" xreflabel="xmlbinary">
<term><varname>xmlbinary</varname> (<type>
string
</type>)</term>
<term><varname>xmlbinary</varname> (<type>
enum
</type>)</term>
<indexterm>
<indexterm>
<primary><varname>xmlbinary</> configuration parameter</primary>
<primary><varname>xmlbinary</> configuration parameter</primary>
</indexterm>
</indexterm>
...
@@ -3960,7 +3967,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
...
@@ -3960,7 +3967,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
</varlistentry>
</varlistentry>
<varlistentry id="guc-xmloption" xreflabel="xmloption">
<varlistentry id="guc-xmloption" xreflabel="xmloption">
<term><varname>xmloption</varname> (<type>
string
</type>)</term>
<term><varname>xmloption</varname> (<type>
enum
</type>)</term>
<indexterm>
<indexterm>
<primary><varname>xmloption</> configuration parameter</primary>
<primary><varname>xmloption</> configuration parameter</primary>
</indexterm>
</indexterm>
...
@@ -4026,7 +4033,7 @@ SET XML OPTION { DOCUMENT | CONTENT };
...
@@ -4026,7 +4033,7 @@ SET XML OPTION { DOCUMENT | CONTENT };
</varlistentry>
</varlistentry>
<varlistentry id="guc-intervalstyle" xreflabel="IntervalStyle">
<varlistentry id="guc-intervalstyle" xreflabel="IntervalStyle">
<term><varname>IntervalStyle</varname> (<type>
string
</type>)</term>
<term><varname>IntervalStyle</varname> (<type>
enum
</type>)</term>
<indexterm>
<indexterm>
<primary><varname>IntervalStyle</> configuration parameter</primary>
<primary><varname>IntervalStyle</> configuration parameter</primary>
</indexterm>
</indexterm>
...
@@ -4514,7 +4521,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
...
@@ -4514,7 +4521,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
</varlistentry>
</varlistentry>
<varlistentry id="guc-backslash-quote" xreflabel="backslash_quote">
<varlistentry id="guc-backslash-quote" xreflabel="backslash_quote">
<term><varname>backslash_quote</varname> (<type>
string
</type>)</term>
<term><varname>backslash_quote</varname> (<type>
enum
</type>)</term>
<indexterm><primary>strings</><secondary>backslash quotes</></>
<indexterm><primary>strings</><secondary>backslash quotes</></>
<indexterm>
<indexterm>
<primary><varname>backslash_quote</> configuration parameter</primary>
<primary><varname>backslash_quote</> configuration parameter</primary>
...
@@ -4602,7 +4609,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
...
@@ -4602,7 +4609,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
</varlistentry>
</varlistentry>
<varlistentry id="guc-regex-flavor" xreflabel="regex_flavor">
<varlistentry id="guc-regex-flavor" xreflabel="regex_flavor">
<term><varname>regex_flavor</varname> (<type>
string
</type>)</term>
<term><varname>regex_flavor</varname> (<type>
enum
</type>)</term>
<indexterm><primary>regular expressions</></>
<indexterm><primary>regular expressions</></>
<indexterm>
<indexterm>
<primary><varname>regex_flavor</> configuration parameter</primary>
<primary><varname>regex_flavor</> configuration parameter</primary>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment