1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.124 2007/05/17 23:36:04 neilc Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.125 2007/06/03 17:05:29 tgl Exp $ -->
2
2
3
3
<chapter Id="runtime-config">
4
4
<title>Server Configuration</title>
@@ -281,7 +281,7 @@ SET ENABLE_SEQSCAN TO OFF;
281
281
If you wish, you can specify the configuration file names and locations
282
282
individually using the parameters <varname>config_file</>,
283
283
<varname>hba_file</> and/or <varname>ident_file</>.
284
- <varname>config_file</> can only be specified on the
284
+ <varname>config_file</> can only be specified on the
285
285
<command>postgres</command> command line, but the others can be
286
286
set within the main configuration file. If all three parameters plus
287
287
<varname>data_directory</> are explicitly set, then it is not necessary
@@ -311,7 +311,7 @@ SET ENABLE_SEQSCAN TO OFF;
311
311
<listitem>
312
312
<para>
313
313
Specifies the TCP/IP address(es) on which the server is
314
- to listen for connections from client applications.
314
+ to listen for connections from client applications.
315
315
The value takes the form of a comma-separated list of host names
316
316
and/or numeric IP addresses. The special entry <literal>*</>
317
317
corresponds to all available IP interfaces.
@@ -362,7 +362,7 @@ SET ENABLE_SEQSCAN TO OFF;
362
362
</para>
363
363
</listitem>
364
364
</varlistentry>
365
-
365
+
366
366
<varlistentry id="guc-superuser-reserved-connections"
367
367
xreflabel="superuser_reserved_connections">
368
368
<term><varname>superuser_reserved_connections</varname>
@@ -461,7 +461,7 @@ SET ENABLE_SEQSCAN TO OFF;
461
461
</para>
462
462
</listitem>
463
463
</varlistentry>
464
-
464
+
465
465
<varlistentry id="guc-bonjour-name" xreflabel="bonjour_name">
466
466
<term><varname>bonjour_name</varname> (<type>string</type>)</term>
467
467
<indexterm>
@@ -478,7 +478,7 @@ SET ENABLE_SEQSCAN TO OFF;
478
478
</para>
479
479
</listitem>
480
480
</varlistentry>
481
-
481
+
482
482
<varlistentry id="guc-tcp-keepalives-idle" xreflabel="tcp_keepalives_idle">
483
483
<term><varname>tcp_keepalives_idle</varname> (<type>integer</type>)</term>
484
484
<indexterm>
@@ -494,7 +494,7 @@ SET ENABLE_SEQSCAN TO OFF;
494
494
</para>
495
495
</listitem>
496
496
</varlistentry>
497
-
497
+
498
498
<varlistentry id="guc-tcp-keepalives-interval" xreflabel="tcp_keepalives_interval">
499
499
<term><varname>tcp_keepalives_interval</varname> (<type>integer</type>)</term>
500
500
<indexterm>
@@ -510,7 +510,7 @@ SET ENABLE_SEQSCAN TO OFF;
510
510
</para>
511
511
</listitem>
512
512
</varlistentry>
513
-
513
+
514
514
<varlistentry id="guc-tcp-keepalives-count" xreflabel="tcp_keepalives_count">
515
515
<term><varname>tcp_keepalives_count</varname> (<type>integer</type>)</term>
516
516
<indexterm>
@@ -519,19 +519,19 @@ SET ENABLE_SEQSCAN TO OFF;
519
519
<listitem>
520
520
<para>
521
521
On systems that support the <symbol>TCP_KEEPCNT</symbol> socket option, specifies how
522
- many keepalives can be lost before the connection is considered dead.
522
+ many keepalives can be lost before the connection is considered dead.
523
523
A value of zero uses the system default. If <symbol>TCP_KEEPCNT</symbol> is not
524
524
supported, this parameter must be zero. This parameter is ignored
525
525
for connections made via a Unix-domain socket.
526
526
</para>
527
527
</listitem>
528
528
</varlistentry>
529
-
529
+
530
530
</variablelist>
531
531
</sect2>
532
532
<sect2 id="runtime-config-connection-security">
533
533
<title>Security and Authentication</title>
534
-
534
+
535
535
<variablelist>
536
536
<varlistentry id="guc-authentication-timeout" xreflabel="authentication_timeout">
537
537
<term><varname>authentication_timeout</varname> (<type>integer</type>)</term>
@@ -826,7 +826,7 @@ SET ENABLE_SEQSCAN TO OFF;
826
826
</para>
827
827
</listitem>
828
828
</varlistentry>
829
-
829
+
830
830
<varlistentry id="guc-maintenance-work-mem" xreflabel="maintenance_work_mem">
831
831
<term><varname>maintenance_work_mem</varname> (<type>integer</type>)</term>
832
832
<indexterm>
@@ -896,7 +896,7 @@ SET ENABLE_SEQSCAN TO OFF;
896
896
is not in the map cannot be re-used; instead <productname>PostgreSQL</>
897
897
will request more disk space from the operating system when it needs
898
898
to store new data.
899
- The last few lines displayed by a database-wide <command>VACUUM VERBOSE</>
899
+ The last few lines displayed by a database-wide <command>VACUUM VERBOSE</>
900
900
command can help in determining if the current settings are adequate.
901
901
A <literal>NOTICE</> message is also printed during such an operation
902
902
if the current settings are too low.
@@ -944,7 +944,7 @@ SET ENABLE_SEQSCAN TO OFF;
944
944
</para>
945
945
</listitem>
946
946
</varlistentry>
947
-
947
+
948
948
</variablelist>
949
949
</sect2>
950
950
<sect2 id="runtime-config-resource-kernel">
@@ -3475,7 +3475,14 @@ SELECT * FROM parent WHERE key = 2400;
3475
3475
to specify using the default tablespace of the current database.
3476
3476
If the value does not match the name of any existing tablespace,
3477
3477
<productname>PostgreSQL</> will automatically use the default
3478
- tablespace of the current database.
3478
+ tablespace of the current database. If a nondefault tablespace
3479
+ is specified, the user must have <literal>CREATE</> privilege
3480
+ for it, or creation attempts will fail.
3481
+ </para>
3482
+
3483
+ <para>
3484
+ This variable is not used for temporary tables; for them,
3485
+ <xref linkend="guc-temp-tablespaces"> is consulted instead.
3479
3486
</para>
3480
3487
3481
3488
<para>
@@ -3485,6 +3492,42 @@ SELECT * FROM parent WHERE key = 2400;
3485
3492
</listitem>
3486
3493
</varlistentry>
3487
3494
3495
+ <varlistentry id="guc-temp-tablespaces" xreflabel="temp_tablespaces">
3496
+ <term><varname>temp_tablespaces</varname> (<type>string</type>)</term>
3497
+ <indexterm>
3498
+ <primary><varname>temp_tablespaces</> configuration parameter</primary>
3499
+ </indexterm>
3500
+ <indexterm><primary>tablespace</><secondary>temporary</></>
3501
+ <listitem>
3502
+ <para>
3503
+ This variable specifies tablespace(s) in which to create temporary
3504
+ objects (temp tables and indexes on temp tables) when a
3505
+ <command>CREATE</> command does not explicitly specify a tablespace.
3506
+ Temporary files for purposes such as sorting large data sets
3507
+ are also created in these tablespace(s).
3508
+ </para>
3509
+
3510
+ <para>
3511
+ The value is a list of names of tablespaces. When there is more than
3512
+ one name in the list, <productname>PostgreSQL</> chooses a random
3513
+ member of the list each time a temporary object is to be created.
3514
+ </para>
3515
+
3516
+ <para>
3517
+ If any element of the list is an empty string or does not match the
3518
+ name of any existing tablespace, <productname>PostgreSQL</> will
3519
+ automatically use the default tablespace of the current database
3520
+ instead. If a nondefault tablespace
3521
+ is specified, the user must have <literal>CREATE</> privilege
3522
+ for it, or creation attempts will fail.
3523
+ </para>
3524
+
3525
+ <para>
3526
+ See also <xref linkend="guc-default-tablespace">.
3527
+ </para>
3528
+ </listitem>
3529
+ </varlistentry>
3530
+
3488
3531
<varlistentry id="guc-check-function-bodies" xreflabel="check_function_bodies">
3489
3532
<term><varname>check_function_bodies</varname> (<type>boolean</type>)</term>
3490
3533
<indexterm>
@@ -3605,7 +3648,7 @@ SELECT * FROM parent WHERE key = 2400;
3605
3648
</para>
3606
3649
</listitem>
3607
3650
</varlistentry>
3608
-
3651
+
3609
3652
<varlistentry id="guc-xmlbinary" xreflabel="xmlbinary">
3610
3653
<term><varname>xmlbinary</varname> (<type>string</type>)</term>
3611
3654
<indexterm>
@@ -3632,7 +3675,7 @@ SELECT * FROM parent WHERE key = 2400;
3632
3675
</para>
3633
3676
</listitem>
3634
3677
</varlistentry>
3635
-
3678
+
3636
3679
<varlistentry id="guc-xmloption" xreflabel="xmloption">
3637
3680
<term><varname>xmloption</varname> (<type>string</type>)</term>
3638
3681
<indexterm>
@@ -3664,7 +3707,7 @@ SET XML OPTION { DOCUMENT | CONTENT };
3664
3707
</para>
3665
3708
</listitem>
3666
3709
</varlistentry>
3667
-
3710
+
3668
3711
</variablelist>
3669
3712
</sect2>
3670
3713
<sect2 id="runtime-config-client-format">
@@ -3945,7 +3988,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
3945
3988
</para>
3946
3989
</listitem>
3947
3990
</varlistentry>
3948
-
3991
+
3949
3992
<varlistentry id="guc-local-preload-libraries" xreflabel="local_preload_libraries">
3950
3993
<term><varname>local_preload_libraries</varname> (<type>string</type>)</term>
3951
3994
<indexterm>
@@ -3994,7 +4037,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
3994
4037
<para>
3995
4038
Every PostgreSQL-supported library has a <quote>magic
3996
4039
block</> that is checked to guarantee compatibility.
3997
- For this reason, non-PostgreSQL libraries cannot be
4040
+ For this reason, non-PostgreSQL libraries cannot be
3998
4041
loaded in this way.
3999
4042
</para>
4000
4043
</listitem>
0 commit comments