rather than append to, any existing log file of the same name.
validation of the function body string during
linkend="sql-createfunction"
endterm="sql-createfunction-title">. Disabling validation is
A read-only SQL transaction cannot alter non-temporary tables.
This parameter controls the default read-only status of each new
- transaction. The default is false (read/write).
+ transaction. The default is off (read/write).
- If set to true, ACST,
+ If set to on, ACST,
CST, EST, and
SAT are interpreted as Australian time
zones rather than as North/South American time zones and
- Saturday. The default is false.
+ Saturday. The default is off.
- When true>, tables that are referenced by a query
+ When on>, tables that are referenced by a query
will be automatically added to the FROM> clause if
not already present. This behavior does not comply with the
SQL standard and many people dislike it because it can mask
mistakes (such as referencing a table where you should have
- referenced its alias). The default is false>. This
+ referenced its alias). The default is off>. This
variable can be enabled for compatibility with releases of
PostgreSQL> prior to 8.1, where this behavior
was allowed by default.
determines whether OIDs will be included in tables created by
SELECT INTO. In
PostgreSQL>
8.1 default_with_oids> is disabled by default; in
- prior versions of PostgreSQL, it was true by default.
+ prior versions of PostgreSQL, it was on by default.
Reports whether ordinary string literals
('...'>) treat backslashes literally, as specified in
- the SQL standard. The value is currently always false>,
+ the SQL standard. The value is currently always off>,
indicating that backslashes are treated as escapes. It is planned
- that this will change to true> in a future
+ that this will change to on> in a future
PostgreSQL release when string literal
syntax changes to meet the standard. Applications may check this
parameter to determine how string literals will be processed.
- If true, emit WAL-related debugging output. This option is
+ If on, emit WAL-related debugging output. This option is
only available if the WAL_DEBUG macro was
defined when
PostgreSQL was
compiled.
Detection of a damaged page header normally causes
PostgreSQL> to report an error, aborting the current
- command. Setting zero_damaged_pages> to true causes
+ command. Setting zero_damaged_pages> to on causes
the system to instead report a warning, zero out the damaged page,
and continue processing. This behavior will destroy data>,
namely all the rows on the damaged page. But it allows you to get
past the error and retrieve rows from any undamaged pages that may
be present in the table. So it is useful for recovering data if
corruption has occurred due to hardware or software error. You should
- generally not set this true until you have given up hope of recovering
+ generally not set this on until you have given up hope of recovering
data from the damaged page(s) of a table. The
default setting is off, and it can only be changed by a superuser.
# - Security & Authentication -
#authentication_timeout = 60 # 1-600, in seconds
-#ssl = false
-#password_encryption = true
-#db_user_namespace = false
+#ssl = off
+#password_encryption = on
+#db_user_namespace = off
# Kerberos
#krb_server_keyfile = ''
-#krb_caseins_users = false
+#krb_caseins_users = off
#krb_srvname = 'postgres'
# - Settings -
-#fsync = true # turns forced synchronization on or off
+#fsync = on # turns forced synchronization on or off
#wal_sync_method = fsync # the default varies across platforms:
# fsync, fdatasync, fsync_writethrough,
# open_sync, open_datasync
# - Planner Method Configuration -
-#enable_bitmapscan = true
-#enable_hashagg = true
-#enable_hashjoin = true
-#enable_indexscan = true
-#enable_mergejoin = true
-#enable_nestloop = true
-#enable_seqscan = true
-#enable_sort = true
-#enable_tidscan = true
+#enable_bitmapscan = on
+#enable_hashagg = on
+#enable_hashjoin = on
+#enable_indexscan = on
+#enable_mergejoin = on
+#enable_nestloop = on
+#enable_seqscan = on
+#enable_sort = on
+#enable_tidscan = on
# - Planner Cost Constants -
# - Genetic Query Optimizer -
-#geqo = true
+#geqo = on
#geqo_threshold = 12
#geqo_effort = 5 # range 1-10
#geqo_pool_size = 0 # selects default based on effort
# syslog and eventlog, depending on
# platform.
-# This is relevant when logging to stderr:
-#redirect_stderr = false # Enable capturing of stderr into log files.
-# These are only relevant if redirect_stderr is true:
-#log_directory = 'pg_log' # Directory where log files are written.
- # May be specified absolute or relative to PGDATA
+# This is used when logging to stderr:
+#redirect_stderr = off # Enable capturing of stderr into log files.
+
+# These are only used if redirect_stderr is on:
+#log_directory = 'pg_log' # Directory where log files are written.
+ # Can be absolute or relative to PGDATA
#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # Log file name pattern.
- # May include strftime() escapes
-#log_truncate_on_rotation = false # If true, any existing log file of the
- # same name as the new log file will be truncated
- # rather than appended to. But such truncation
- # only occurs on time-driven rotation,
- # not on restarts or size-driven rotation.
- # Default is false, meaning append to existing
- # files in all cases.
-#log_rotation_age = 1440 # Automatic rotation of logfiles will happen after
- # so many minutes. 0 to disable.
-#log_rotation_size = 10240 # Automatic rotation of logfiles will happen after
- # so many kilobytes of log output. 0 to disable.
+ # Can include strftime() escapes
+#log_truncate_on_rotation = off # If on, any existing log file of the same
+ # name as the new log file will be truncated
+ # rather than appended to. But such truncation
+ # only occurs on time-driven rotation,
+ # not on restarts or size-driven rotation.
+ # Default is off, meaning append to existing
+ # files in all cases.
+#log_rotation_age = 1440 # Automatic rotation of logfiles will happen after
+ # so many minutes. 0 to disable.
+#log_rotation_size = 10240 # Automatic rotation of logfiles will happen after
+ # so many kilobytes of log output. 0 to disable.
# These are relevant when logging to syslog:
#syslog_facility = 'LOCAL0'
#log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
# and their durations, in milliseconds.
-#silent_mode = false # DO NOT USE without syslog or redirect_stderr
+#silent_mode = off # DO NOT USE without syslog or redirect_stderr
# - What to Log -
-#debug_print_parse = false
-#debug_print_rewritten = false
-#debug_print_plan = false
-#debug_pretty_print = false
-#log_connections = false
-#log_disconnections = false
-#log_duration = false
+#debug_print_parse = off
+#debug_print_rewritten = off
+#debug_print_plan = off
+#debug_pretty_print = off
+#log_connections = off
+#log_disconnections = off
+#log_duration = off
#log_line_prefix = '' # %u = user name
# %d = database name
# %r = remote host and port
# %% = '%'
# e.g. '<%u%%%d> '
#log_statement = 'none' # none, mod, ddl, all
-#log_hostname = false
+#log_hostname = off
#---------------------------------------------------------------------------
# - Statistics Monitoring -
-#log_parser_stats = false
-#log_planner_stats = false
-#log_executor_stats = false
-#log_statement_stats = false
+#log_parser_stats = off
+#log_planner_stats = off
+#log_executor_stats = off
+#log_statement_stats = off
# - Query/Index Statistics Collector -
-#stats_start_collector = true
-#stats_command_string = false
-#stats_block_level = false
-#stats_row_level = false
-#stats_reset_on_server_start = true
+#stats_start_collector = on
+#stats_command_string = off
+#stats_block_level = off
+#stats_row_level = off
+#stats_reset_on_server_start = on
#---------------------------------------------------------------------------
#search_path = '$user,public' # schema names
#default_tablespace = '' # a tablespace name, or '' for default
-#check_function_bodies = true
+#check_function_bodies = on
#default_transaction_isolation = 'read committed'
-#default_transaction_read_only = false
+#default_transaction_read_only = off
#statement_timeout = 0 # 0 is disabled, in milliseconds
# - Locale and Formatting -
#datestyle = 'iso, mdy'
#timezone = unknown # actually, defaults to TZ environment setting
-#australian_timezones = false
+#australian_timezones = off
#extra_float_digits = 0 # min -15, max 2
#client_encoding = sql_ascii # actually, defaults to database encoding
# - Other Defaults -
-#explain_pretty_print = true
+#explain_pretty_print = on
#dynamic_library_path = '$libdir'
# - Previous Postgres Versions -
-#add_missing_from = false
+#add_missing_from = off
#regex_flavor = advanced # advanced, extended, or basic
-#sql_inheritance = true
-#default_with_oids = false
-#escape_string_warning = false
+#sql_inheritance = on
+#default_with_oids = off
+#escape_string_warning = off
# - Other Platforms & Clients -
-#transform_null_equals = false
+#transform_null_equals = off