~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/html/runtime-config-client.html

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
2
<HTML
 
3
><HEAD
 
4
><TITLE
 
5
>Client Connection Defaults</TITLE
 
6
><META
 
7
NAME="GENERATOR"
 
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
 
9
REV="MADE"
 
10
HREF="mailto:pgsql-docs@postgresql.org"><LINK
 
11
REL="HOME"
 
12
TITLE="PostgreSQL 9.1beta1 Documentation"
 
13
HREF="index.html"><LINK
 
14
REL="UP"
 
15
TITLE="Server Configuration"
 
16
HREF="runtime-config.html"><LINK
 
17
REL="PREVIOUS"
 
18
TITLE="Automatic Vacuuming"
 
19
HREF="runtime-config-autovacuum.html"><LINK
 
20
REL="NEXT"
 
21
TITLE="Lock Management"
 
22
HREF="runtime-config-locks.html"><LINK
 
23
REL="STYLESHEET"
 
24
TYPE="text/css"
 
25
HREF="stylesheet.css"><META
 
26
HTTP-EQUIV="Content-Type"
 
27
CONTENT="text/html; charset=ISO-8859-1"><META
 
28
NAME="creation"
 
29
CONTENT="2011-04-27T21:20:33"></HEAD
 
30
><BODY
 
31
CLASS="SECT1"
 
32
><DIV
 
33
CLASS="NAVHEADER"
 
34
><TABLE
 
35
SUMMARY="Header navigation table"
 
36
WIDTH="100%"
 
37
BORDER="0"
 
38
CELLPADDING="0"
 
39
CELLSPACING="0"
 
40
><TR
 
41
><TH
 
42
COLSPAN="5"
 
43
ALIGN="center"
 
44
VALIGN="bottom"
 
45
><A
 
46
HREF="index.html"
 
47
>PostgreSQL 9.1beta1 Documentation</A
 
48
></TH
 
49
></TR
 
50
><TR
 
51
><TD
 
52
WIDTH="10%"
 
53
ALIGN="left"
 
54
VALIGN="top"
 
55
><A
 
56
TITLE="Automatic Vacuuming"
 
57
HREF="runtime-config-autovacuum.html"
 
58
ACCESSKEY="P"
 
59
>Prev</A
 
60
></TD
 
61
><TD
 
62
WIDTH="10%"
 
63
ALIGN="left"
 
64
VALIGN="top"
 
65
><A
 
66
TITLE="Server Configuration"
 
67
HREF="runtime-config.html"
 
68
>Fast Backward</A
 
69
></TD
 
70
><TD
 
71
WIDTH="60%"
 
72
ALIGN="center"
 
73
VALIGN="bottom"
 
74
>Chapter 18. Server Configuration</TD
 
75
><TD
 
76
WIDTH="10%"
 
77
ALIGN="right"
 
78
VALIGN="top"
 
79
><A
 
80
TITLE="Server Configuration"
 
81
HREF="runtime-config.html"
 
82
>Fast Forward</A
 
83
></TD
 
84
><TD
 
85
WIDTH="10%"
 
86
ALIGN="right"
 
87
VALIGN="top"
 
88
><A
 
89
TITLE="Lock Management"
 
90
HREF="runtime-config-locks.html"
 
91
ACCESSKEY="N"
 
92
>Next</A
 
93
></TD
 
94
></TR
 
95
></TABLE
 
96
><HR
 
97
ALIGN="LEFT"
 
98
WIDTH="100%"></DIV
 
99
><DIV
 
100
CLASS="SECT1"
 
101
><H1
 
102
CLASS="SECT1"
 
103
><A
 
104
NAME="RUNTIME-CONFIG-CLIENT"
 
105
>18.10. Client Connection Defaults</A
 
106
></H1
 
107
><DIV
 
108
CLASS="SECT2"
 
109
><H2
 
110
CLASS="SECT2"
 
111
><A
 
112
NAME="RUNTIME-CONFIG-CLIENT-STATEMENT"
 
113
>18.10.1. Statement Behavior</A
 
114
></H2
 
115
><P
 
116
></P
 
117
><DIV
 
118
CLASS="VARIABLELIST"
 
119
><DL
 
120
><DT
 
121
><A
 
122
NAME="GUC-SEARCH-PATH"
 
123
></A
 
124
><TT
 
125
CLASS="VARNAME"
 
126
>search_path</TT
 
127
> (<TT
 
128
CLASS="TYPE"
 
129
>string</TT
 
130
>)</DT
 
131
><DD
 
132
><P
 
133
>        This variable specifies the order in which schemas are searched
 
134
        when an object (table, data type, function, etc.) is referenced by a
 
135
        simple name with no schema specified.  When there are objects of
 
136
        identical names in different schemas, the one found first
 
137
        in the search path is used.  An object that is not in any of the
 
138
        schemas in the search path can only be referenced by specifying
 
139
        its containing schema with a qualified (dotted) name.
 
140
       </P
 
141
><P
 
142
>        The value for <TT
 
143
CLASS="VARNAME"
 
144
>search_path</TT
 
145
> must be a comma-separated
 
146
        list of schema names.  If one of the list items is
 
147
        the special value <TT
 
148
CLASS="LITERAL"
 
149
>$user</TT
 
150
>, then the schema
 
151
        having the name returned by <CODE
 
152
CLASS="FUNCTION"
 
153
>SESSION_USER</CODE
 
154
> is substituted, if there
 
155
        is such a schema.  (If not, <TT
 
156
CLASS="LITERAL"
 
157
>$user</TT
 
158
> is ignored.)
 
159
       </P
 
160
><P
 
161
>        The system catalog schema, <TT
 
162
CLASS="LITERAL"
 
163
>pg_catalog</TT
 
164
>, is always
 
165
        searched, whether it is mentioned in the path or not.  If it is
 
166
        mentioned in the path then it will be searched in the specified
 
167
        order.  If <TT
 
168
CLASS="LITERAL"
 
169
>pg_catalog</TT
 
170
> is not in the path then it will
 
171
        be searched <SPAN
 
172
CLASS="emphasis"
 
173
><I
 
174
CLASS="EMPHASIS"
 
175
>before</I
 
176
></SPAN
 
177
> searching any of the path items.
 
178
       </P
 
179
><P
 
180
>        Likewise, the current session's temporary-table schema,
 
181
        <TT
 
182
CLASS="LITERAL"
 
183
>pg_temp_<TT
 
184
CLASS="REPLACEABLE"
 
185
><I
 
186
>nnn</I
 
187
></TT
 
188
></TT
 
189
>, is always searched if it
 
190
        exists.  It can be explicitly listed in the path by using the
 
191
        alias <TT
 
192
CLASS="LITERAL"
 
193
>pg_temp</TT
 
194
>.  If it is not listed in the path then
 
195
        it is searched first (even before <TT
 
196
CLASS="LITERAL"
 
197
>pg_catalog</TT
 
198
>).  However,
 
199
        the temporary schema is only searched for relation (table, view,
 
200
        sequence, etc) and data type names.  It is never searched for
 
201
        function or operator names.
 
202
       </P
 
203
><P
 
204
>        When objects are created without specifying a particular target
 
205
        schema, they will be placed in the first schema listed
 
206
        in the search path.  An error is reported if the search path is
 
207
        empty.
 
208
       </P
 
209
><P
 
210
>        The default value for this parameter is
 
211
        <TT
 
212
CLASS="LITERAL"
 
213
>'"$user", public'</TT
 
214
> (where the second part will be
 
215
        ignored if there is no schema named <TT
 
216
CLASS="LITERAL"
 
217
>public</TT
 
218
>).
 
219
        This supports shared use of a database (where no users
 
220
        have private schemas, and all share use of <TT
 
221
CLASS="LITERAL"
 
222
>public</TT
 
223
>),
 
224
        private per-user schemas, and combinations of these.  Other
 
225
        effects can be obtained by altering the default search path
 
226
        setting, either globally or per-user.
 
227
       </P
 
228
><P
 
229
>        The current effective value of the search path can be examined
 
230
        via the <ACRONYM
 
231
CLASS="ACRONYM"
 
232
>SQL</ACRONYM
 
233
> function
 
234
        <CODE
 
235
CLASS="FUNCTION"
 
236
>current_schemas()</CODE
 
237
>.  This is not quite the same as
 
238
        examining the value of <TT
 
239
CLASS="VARNAME"
 
240
>search_path</TT
 
241
>, since
 
242
        <CODE
 
243
CLASS="FUNCTION"
 
244
>current_schemas()</CODE
 
245
> shows how the items
 
246
        appearing in <TT
 
247
CLASS="VARNAME"
 
248
>search_path</TT
 
249
> were resolved.
 
250
       </P
 
251
><P
 
252
>        For more information on schema handling, see <A
 
253
HREF="ddl-schemas.html"
 
254
>Section 5.7</A
 
255
>.
 
256
       </P
 
257
></DD
 
258
><DT
 
259
><A
 
260
NAME="GUC-DEFAULT-TABLESPACE"
 
261
></A
 
262
><TT
 
263
CLASS="VARNAME"
 
264
>default_tablespace</TT
 
265
> (<TT
 
266
CLASS="TYPE"
 
267
>string</TT
 
268
>)</DT
 
269
><DD
 
270
><P
 
271
>        This variable specifies the default tablespace in which to create
 
272
        objects (tables and indexes) when a <TT
 
273
CLASS="COMMAND"
 
274
>CREATE</TT
 
275
> command does
 
276
        not explicitly specify a tablespace.
 
277
       </P
 
278
><P
 
279
>        The value is either the name of a tablespace, or an empty string
 
280
        to specify using the default tablespace of the current database.
 
281
        If the value does not match the name of any existing tablespace,
 
282
        <SPAN
 
283
CLASS="PRODUCTNAME"
 
284
>PostgreSQL</SPAN
 
285
> will automatically use the default
 
286
        tablespace of the current database.  If a nondefault tablespace
 
287
        is specified, the user must have <TT
 
288
CLASS="LITERAL"
 
289
>CREATE</TT
 
290
> privilege
 
291
        for it, or creation attempts will fail.
 
292
       </P
 
293
><P
 
294
>        This variable is not used for temporary tables; for them,
 
295
        <A
 
296
HREF="runtime-config-client.html#GUC-TEMP-TABLESPACES"
 
297
>temp_tablespaces</A
 
298
> is consulted instead.
 
299
       </P
 
300
><P
 
301
>        This variable is also not used when creating databases.
 
302
        By default, a new database inherits its tablespace setting from
 
303
        the template database it is copied from.
 
304
       </P
 
305
><P
 
306
>        For more information on tablespaces,
 
307
        see <A
 
308
HREF="manage-ag-tablespaces.html"
 
309
>Section 21.6</A
 
310
>.
 
311
       </P
 
312
></DD
 
313
><DT
 
314
><A
 
315
NAME="GUC-TEMP-TABLESPACES"
 
316
></A
 
317
><TT
 
318
CLASS="VARNAME"
 
319
>temp_tablespaces</TT
 
320
> (<TT
 
321
CLASS="TYPE"
 
322
>string</TT
 
323
>)</DT
 
324
><DD
 
325
><P
 
326
>        This variable specifies tablespaces in which to create temporary
 
327
        objects (temp tables and indexes on temp tables) when a
 
328
        <TT
 
329
CLASS="COMMAND"
 
330
>CREATE</TT
 
331
> command does not explicitly specify a tablespace.
 
332
        Temporary files for purposes such as sorting large data sets
 
333
        are also created in these tablespaces.
 
334
       </P
 
335
><P
 
336
>        The value is a list of names of tablespaces.  When there is more than
 
337
        one name in the list, <SPAN
 
338
CLASS="PRODUCTNAME"
 
339
>PostgreSQL</SPAN
 
340
> chooses a random
 
341
        member of the list each time a temporary object is to be created;
 
342
        except that within a transaction, successively created temporary
 
343
        objects are placed in successive tablespaces from the list.
 
344
        If the selected element of the list is an empty string,
 
345
        <SPAN
 
346
CLASS="PRODUCTNAME"
 
347
>PostgreSQL</SPAN
 
348
> will automatically use the default
 
349
        tablespace of the current database instead.
 
350
       </P
 
351
><P
 
352
>        When <TT
 
353
CLASS="VARNAME"
 
354
>temp_tablespaces</TT
 
355
> is set interactively, specifying a
 
356
        nonexistent tablespace is an error, as is specifying a tablespace for
 
357
        which the user does not have <TT
 
358
CLASS="LITERAL"
 
359
>CREATE</TT
 
360
> privilege.  However,
 
361
        when using a previously set value, nonexistent tablespaces are
 
362
        ignored, as are tablespaces for which the user lacks
 
363
        <TT
 
364
CLASS="LITERAL"
 
365
>CREATE</TT
 
366
> privilege.  In particular, this rule applies when
 
367
        using a value set in <TT
 
368
CLASS="FILENAME"
 
369
>postgresql.conf</TT
 
370
>.
 
371
       </P
 
372
><P
 
373
>        The default value is an empty string, which results in all temporary
 
374
        objects being created in the default tablespace of the current
 
375
        database.
 
376
       </P
 
377
><P
 
378
>        See also <A
 
379
HREF="runtime-config-client.html#GUC-DEFAULT-TABLESPACE"
 
380
>default_tablespace</A
 
381
>.
 
382
       </P
 
383
></DD
 
384
><DT
 
385
><A
 
386
NAME="GUC-CHECK-FUNCTION-BODIES"
 
387
></A
 
388
><TT
 
389
CLASS="VARNAME"
 
390
>check_function_bodies</TT
 
391
> (<TT
 
392
CLASS="TYPE"
 
393
>boolean</TT
 
394
>)</DT
 
395
><DD
 
396
><P
 
397
>        This parameter is normally on. When set to <TT
 
398
CLASS="LITERAL"
 
399
>off</TT
 
400
>, it
 
401
        disables validation of the function body string during <A
 
402
HREF="sql-createfunction.html"
 
403
>CREATE FUNCTION</A
 
404
>. Disabling validation is
 
405
        occasionally useful to avoid problems such as forward references
 
406
        when restoring function definitions from a dump.
 
407
       </P
 
408
></DD
 
409
><DT
 
410
><A
 
411
NAME="GUC-DEFAULT-TRANSACTION-ISOLATION"
 
412
></A
 
413
><TT
 
414
CLASS="VARNAME"
 
415
>default_transaction_isolation</TT
 
416
> (<TT
 
417
CLASS="TYPE"
 
418
>enum</TT
 
419
>)</DT
 
420
><DD
 
421
><P
 
422
>        Each SQL transaction has an isolation level, which can be
 
423
        either <SPAN
 
424
CLASS="QUOTE"
 
425
>"read uncommitted"</SPAN
 
426
>, <SPAN
 
427
CLASS="QUOTE"
 
428
>"read
 
429
        committed"</SPAN
 
430
>, <SPAN
 
431
CLASS="QUOTE"
 
432
>"repeatable read"</SPAN
 
433
>, or
 
434
        <SPAN
 
435
CLASS="QUOTE"
 
436
>"serializable"</SPAN
 
437
>.  This parameter controls the
 
438
        default isolation level of each new transaction. The default
 
439
        is <SPAN
 
440
CLASS="QUOTE"
 
441
>"read committed"</SPAN
 
442
>.
 
443
       </P
 
444
><P
 
445
>        Consult <A
 
446
HREF="mvcc.html"
 
447
>Chapter 13</A
 
448
> and <A
 
449
HREF="sql-set-transaction.html"
 
450
>SET TRANSACTION</A
 
451
> for more information.
 
452
       </P
 
453
></DD
 
454
><DT
 
455
><A
 
456
NAME="GUC-DEFAULT-TRANSACTION-READ-ONLY"
 
457
></A
 
458
><TT
 
459
CLASS="VARNAME"
 
460
>default_transaction_read_only</TT
 
461
> (<TT
 
462
CLASS="TYPE"
 
463
>boolean</TT
 
464
>)</DT
 
465
><DD
 
466
><P
 
467
>        A read-only SQL transaction cannot alter non-temporary tables.
 
468
        This parameter controls the default read-only status of each new
 
469
        transaction. The default is <TT
 
470
CLASS="LITERAL"
 
471
>off</TT
 
472
> (read/write).
 
473
       </P
 
474
><P
 
475
>        Consult <A
 
476
HREF="sql-set-transaction.html"
 
477
>SET TRANSACTION</A
 
478
> for more information.
 
479
       </P
 
480
></DD
 
481
><DT
 
482
><A
 
483
NAME="GUC-DEFAULT-TRANSACTION-DEFERRABLE"
 
484
></A
 
485
><TT
 
486
CLASS="VARNAME"
 
487
>default_transaction_deferrable</TT
 
488
> (<TT
 
489
CLASS="TYPE"
 
490
>boolean</TT
 
491
>)</DT
 
492
><DD
 
493
><P
 
494
>        When running at the <TT
 
495
CLASS="LITERAL"
 
496
>serializable</TT
 
497
> isolation level,
 
498
        a deferrable read-only SQL transaction may be delayed before
 
499
        it is allowed to proceed.  However, once it begins executing
 
500
        it does not incur any of the overhead required to ensure
 
501
        serializability; so serialization code will have no reason to
 
502
        force it to abort because of concurrent updates, making this
 
503
        option suitable for long-running read-only transactions.
 
504
        </P
 
505
><P
 
506
>        This parameter controls the default deferrable status of each
 
507
        new transaction.  It currently has no effect on read-write
 
508
        transactions or those operating at isolation levels lower
 
509
        than <TT
 
510
CLASS="LITERAL"
 
511
>serializable</TT
 
512
>. The default is <TT
 
513
CLASS="LITERAL"
 
514
>off</TT
 
515
>.
 
516
       </P
 
517
><P
 
518
>        Consult <A
 
519
HREF="sql-set-transaction.html"
 
520
>SET TRANSACTION</A
 
521
> for more information.
 
522
       </P
 
523
></DD
 
524
><DT
 
525
><A
 
526
NAME="GUC-SESSION-REPLICATION-ROLE"
 
527
></A
 
528
><TT
 
529
CLASS="VARNAME"
 
530
>session_replication_role</TT
 
531
> (<TT
 
532
CLASS="TYPE"
 
533
>enum</TT
 
534
>)</DT
 
535
><DD
 
536
><P
 
537
>        Controls firing of replication-related triggers and rules for the
 
538
        current session.  Setting this variable requires
 
539
        superuser privilege and results in discarding any previously cached
 
540
        query plans.  Possible values are <TT
 
541
CLASS="LITERAL"
 
542
>origin</TT
 
543
> (the default),
 
544
        <TT
 
545
CLASS="LITERAL"
 
546
>replica</TT
 
547
> and <TT
 
548
CLASS="LITERAL"
 
549
>local</TT
 
550
>.
 
551
        See <A
 
552
HREF="sql-altertable.html"
 
553
>ALTER TABLE</A
 
554
> for
 
555
        more information.
 
556
       </P
 
557
></DD
 
558
><DT
 
559
><A
 
560
NAME="GUC-STATEMENT-TIMEOUT"
 
561
></A
 
562
><TT
 
563
CLASS="VARNAME"
 
564
>statement_timeout</TT
 
565
> (<TT
 
566
CLASS="TYPE"
 
567
>integer</TT
 
568
>)</DT
 
569
><DD
 
570
><P
 
571
>        Abort any statement that takes over the specified number of
 
572
        milliseconds, starting from the time the command arrives at the server
 
573
        from the client.  If <TT
 
574
CLASS="VARNAME"
 
575
>log_min_error_statement</TT
 
576
> is set to
 
577
        <TT
 
578
CLASS="LITERAL"
 
579
>ERROR</TT
 
580
> or lower, the statement that timed out will also be
 
581
        logged.  A value of zero (the default) turns this off.
 
582
       </P
 
583
><P
 
584
>        Setting <TT
 
585
CLASS="VARNAME"
 
586
>statement_timeout</TT
 
587
> in
 
588
        <TT
 
589
CLASS="FILENAME"
 
590
>postgresql.conf</TT
 
591
> is not recommended because it
 
592
        affects all sessions.
 
593
       </P
 
594
></DD
 
595
><DT
 
596
><A
 
597
NAME="GUC-VACUUM-FREEZE-TABLE-AGE"
 
598
></A
 
599
><TT
 
600
CLASS="VARNAME"
 
601
>vacuum_freeze_table_age</TT
 
602
> (<TT
 
603
CLASS="TYPE"
 
604
>integer</TT
 
605
>)</DT
 
606
><DD
 
607
><P
 
608
>        <TT
 
609
CLASS="COMMAND"
 
610
>VACUUM</TT
 
611
> performs a whole-table scan if the table's
 
612
        <TT
 
613
CLASS="STRUCTNAME"
 
614
>pg_class</TT
 
615
>.<TT
 
616
CLASS="STRUCTFIELD"
 
617
>relfrozenxid</TT
 
618
> field has reached
 
619
        the age specified by this setting.  The default is 150 million
 
620
        transactions.  Although users can set this value anywhere from zero to
 
621
        one billion, <TT
 
622
CLASS="COMMAND"
 
623
>VACUUM</TT
 
624
> will silently limit the effective value
 
625
        to 95% of <A
 
626
HREF="runtime-config-autovacuum.html#GUC-AUTOVACUUM-FREEZE-MAX-AGE"
 
627
>autovacuum_freeze_max_age</A
 
628
>, so that a
 
629
        periodical manual <TT
 
630
CLASS="COMMAND"
 
631
>VACUUM</TT
 
632
> has a chance to run before an
 
633
        anti-wraparound autovacuum is launched for the table. For more
 
634
        information see
 
635
        <A
 
636
HREF="routine-vacuuming.html#VACUUM-FOR-WRAPAROUND"
 
637
>Section 23.1.4</A
 
638
>.
 
639
       </P
 
640
></DD
 
641
><DT
 
642
><A
 
643
NAME="GUC-VACUUM-FREEZE-MIN-AGE"
 
644
></A
 
645
><TT
 
646
CLASS="VARNAME"
 
647
>vacuum_freeze_min_age</TT
 
648
> (<TT
 
649
CLASS="TYPE"
 
650
>integer</TT
 
651
>)</DT
 
652
><DD
 
653
><P
 
654
>        Specifies the cutoff age (in transactions) that <TT
 
655
CLASS="COMMAND"
 
656
>VACUUM</TT
 
657
>
 
658
        should use to decide whether to replace transaction IDs with
 
659
        <TT
 
660
CLASS="LITERAL"
 
661
>FrozenXID</TT
 
662
> while scanning a table.
 
663
        The default is 50 million transactions.  Although
 
664
        users can set this value anywhere from zero to one billion,
 
665
        <TT
 
666
CLASS="COMMAND"
 
667
>VACUUM</TT
 
668
> will silently limit the effective value to half
 
669
        the value of <A
 
670
HREF="runtime-config-autovacuum.html#GUC-AUTOVACUUM-FREEZE-MAX-AGE"
 
671
>autovacuum_freeze_max_age</A
 
672
>, so
 
673
        that there is not an unreasonably short time between forced
 
674
        autovacuums.  For more information see <A
 
675
HREF="routine-vacuuming.html#VACUUM-FOR-WRAPAROUND"
 
676
>Section 23.1.4</A
 
677
>.
 
678
       </P
 
679
></DD
 
680
><DT
 
681
><A
 
682
NAME="GUC-BYTEA-OUTPUT"
 
683
></A
 
684
><TT
 
685
CLASS="VARNAME"
 
686
>bytea_output</TT
 
687
> (<TT
 
688
CLASS="TYPE"
 
689
>enum</TT
 
690
>)</DT
 
691
><DD
 
692
><P
 
693
>        Sets the output format for values of type <TT
 
694
CLASS="TYPE"
 
695
>bytea</TT
 
696
>.
 
697
        Valid values are <TT
 
698
CLASS="LITERAL"
 
699
>hex</TT
 
700
> (the default)
 
701
        and <TT
 
702
CLASS="LITERAL"
 
703
>escape</TT
 
704
> (the traditional PostgreSQL
 
705
        format).  See <A
 
706
HREF="datatype-binary.html"
 
707
>Section 8.4</A
 
708
> for more
 
709
        information.  The <TT
 
710
CLASS="TYPE"
 
711
>bytea</TT
 
712
> type always
 
713
        accepts both formats on input, regardless of this setting.
 
714
       </P
 
715
></DD
 
716
><DT
 
717
><A
 
718
NAME="GUC-XMLBINARY"
 
719
></A
 
720
><TT
 
721
CLASS="VARNAME"
 
722
>xmlbinary</TT
 
723
> (<TT
 
724
CLASS="TYPE"
 
725
>enum</TT
 
726
>)</DT
 
727
><DD
 
728
><P
 
729
>        Sets how binary values are to be encoded in XML.  This applies
 
730
        for example when <TT
 
731
CLASS="TYPE"
 
732
>bytea</TT
 
733
> values are converted to
 
734
        XML by the functions <CODE
 
735
CLASS="FUNCTION"
 
736
>xmlelement</CODE
 
737
> or
 
738
        <CODE
 
739
CLASS="FUNCTION"
 
740
>xmlforest</CODE
 
741
>.  Possible values are
 
742
        <TT
 
743
CLASS="LITERAL"
 
744
>base64</TT
 
745
> and <TT
 
746
CLASS="LITERAL"
 
747
>hex</TT
 
748
>, which
 
749
        are both defined in the XML Schema standard.  The default is
 
750
        <TT
 
751
CLASS="LITERAL"
 
752
>base64</TT
 
753
>.  For further information about
 
754
        XML-related functions, see <A
 
755
HREF="functions-xml.html"
 
756
>Section 9.14</A
 
757
>.
 
758
       </P
 
759
><P
 
760
>        The actual choice here is mostly a matter of taste,
 
761
        constrained only by possible restrictions in client
 
762
        applications.  Both methods support all possible values,
 
763
        although the hex encoding will be somewhat larger than the
 
764
        base64 encoding.
 
765
       </P
 
766
></DD
 
767
><DT
 
768
><A
 
769
NAME="GUC-XMLOPTION"
 
770
></A
 
771
><TT
 
772
CLASS="VARNAME"
 
773
>xmloption</TT
 
774
> (<TT
 
775
CLASS="TYPE"
 
776
>enum</TT
 
777
>)</DT
 
778
><DD
 
779
><P
 
780
>        Sets whether <TT
 
781
CLASS="LITERAL"
 
782
>DOCUMENT</TT
 
783
> or
 
784
        <TT
 
785
CLASS="LITERAL"
 
786
>CONTENT</TT
 
787
> is implicit when converting between
 
788
        XML and character string values.  See <A
 
789
HREF="datatype-xml.html"
 
790
>Section 8.13</A
 
791
> for a description of this.  Valid
 
792
        values are <TT
 
793
CLASS="LITERAL"
 
794
>DOCUMENT</TT
 
795
> and
 
796
        <TT
 
797
CLASS="LITERAL"
 
798
>CONTENT</TT
 
799
>.  The default is
 
800
        <TT
 
801
CLASS="LITERAL"
 
802
>CONTENT</TT
 
803
>.
 
804
       </P
 
805
><P
 
806
>        According to the SQL standard, the command to set this option is
 
807
</P><PRE
 
808
CLASS="SYNOPSIS"
 
809
>SET XML OPTION { DOCUMENT | CONTENT };</PRE
 
810
><P>
 
811
        This syntax is also available in PostgreSQL.
 
812
       </P
 
813
></DD
 
814
></DL
 
815
></DIV
 
816
></DIV
 
817
><DIV
 
818
CLASS="SECT2"
 
819
><H2
 
820
CLASS="SECT2"
 
821
><A
 
822
NAME="RUNTIME-CONFIG-CLIENT-FORMAT"
 
823
>18.10.2. Locale and Formatting</A
 
824
></H2
 
825
><P
 
826
></P
 
827
><DIV
 
828
CLASS="VARIABLELIST"
 
829
><DL
 
830
><DT
 
831
><A
 
832
NAME="GUC-DATESTYLE"
 
833
></A
 
834
><TT
 
835
CLASS="VARNAME"
 
836
>DateStyle</TT
 
837
> (<TT
 
838
CLASS="TYPE"
 
839
>string</TT
 
840
>)</DT
 
841
><DD
 
842
><P
 
843
>        Sets the display format for date and time values, as well as the
 
844
        rules for interpreting ambiguous date input values. For
 
845
        historical reasons, this variable contains two independent
 
846
        components: the output format specification (<TT
 
847
CLASS="LITERAL"
 
848
>ISO</TT
 
849
>,
 
850
        <TT
 
851
CLASS="LITERAL"
 
852
>Postgres</TT
 
853
>, <TT
 
854
CLASS="LITERAL"
 
855
>SQL</TT
 
856
>, or <TT
 
857
CLASS="LITERAL"
 
858
>German</TT
 
859
>)
 
860
        and the input/output specification for year/month/day ordering
 
861
        (<TT
 
862
CLASS="LITERAL"
 
863
>DMY</TT
 
864
>, <TT
 
865
CLASS="LITERAL"
 
866
>MDY</TT
 
867
>, or <TT
 
868
CLASS="LITERAL"
 
869
>YMD</TT
 
870
>). These
 
871
        can be set separately or together. The keywords <TT
 
872
CLASS="LITERAL"
 
873
>Euro</TT
 
874
>
 
875
        and <TT
 
876
CLASS="LITERAL"
 
877
>European</TT
 
878
> are synonyms for <TT
 
879
CLASS="LITERAL"
 
880
>DMY</TT
 
881
>; the
 
882
        keywords <TT
 
883
CLASS="LITERAL"
 
884
>US</TT
 
885
>, <TT
 
886
CLASS="LITERAL"
 
887
>NonEuro</TT
 
888
>, and
 
889
        <TT
 
890
CLASS="LITERAL"
 
891
>NonEuropean</TT
 
892
> are synonyms for <TT
 
893
CLASS="LITERAL"
 
894
>MDY</TT
 
895
>. See
 
896
        <A
 
897
HREF="datatype-datetime.html"
 
898
>Section 8.5</A
 
899
> for more information. The
 
900
        built-in default is <TT
 
901
CLASS="LITERAL"
 
902
>ISO, MDY</TT
 
903
>, but
 
904
        <SPAN
 
905
CLASS="APPLICATION"
 
906
>initdb</SPAN
 
907
> will initialize the
 
908
        configuration file with a setting that corresponds to the
 
909
        behavior of the chosen <TT
 
910
CLASS="VARNAME"
 
911
>lc_time</TT
 
912
> locale.
 
913
       </P
 
914
></DD
 
915
><DT
 
916
><A
 
917
NAME="GUC-INTERVALSTYLE"
 
918
></A
 
919
><TT
 
920
CLASS="VARNAME"
 
921
>IntervalStyle</TT
 
922
> (<TT
 
923
CLASS="TYPE"
 
924
>enum</TT
 
925
>)</DT
 
926
><DD
 
927
><P
 
928
>        Sets the display format for interval values.
 
929
        The value <TT
 
930
CLASS="LITERAL"
 
931
>sql_standard</TT
 
932
> will produce
 
933
        output matching <ACRONYM
 
934
CLASS="ACRONYM"
 
935
>SQL</ACRONYM
 
936
> standard interval literals.
 
937
        The value <TT
 
938
CLASS="LITERAL"
 
939
>postgres</TT
 
940
> (which is the default) will produce
 
941
        output matching <SPAN
 
942
CLASS="PRODUCTNAME"
 
943
>PostgreSQL</SPAN
 
944
> releases prior to 8.4
 
945
        when the <A
 
946
HREF="runtime-config-client.html#GUC-DATESTYLE"
 
947
>DateStyle</A
 
948
>
 
949
        parameter was set to <TT
 
950
CLASS="LITERAL"
 
951
>ISO</TT
 
952
>.
 
953
        The value <TT
 
954
CLASS="LITERAL"
 
955
>postgres_verbose</TT
 
956
> will produce output
 
957
        matching <SPAN
 
958
CLASS="PRODUCTNAME"
 
959
>PostgreSQL</SPAN
 
960
> releases prior to 8.4
 
961
        when the <TT
 
962
CLASS="VARNAME"
 
963
>DateStyle</TT
 
964
>
 
965
        parameter was set to non-<TT
 
966
CLASS="LITERAL"
 
967
>ISO</TT
 
968
> output.
 
969
        The value <TT
 
970
CLASS="LITERAL"
 
971
>iso_8601</TT
 
972
> will produce output matching the time
 
973
        interval <SPAN
 
974
CLASS="QUOTE"
 
975
>"format with designators"</SPAN
 
976
> defined in section
 
977
        4.4.3.2 of ISO 8601.
 
978
       </P
 
979
><P
 
980
>        The <TT
 
981
CLASS="VARNAME"
 
982
>IntervalStyle</TT
 
983
> parameter also affects the
 
984
        interpretation of ambiguous interval input.  See
 
985
        <A
 
986
HREF="datatype-datetime.html#DATATYPE-INTERVAL-INPUT"
 
987
>Section 8.5.4</A
 
988
> for more information.
 
989
       </P
 
990
></DD
 
991
><DT
 
992
><A
 
993
NAME="GUC-TIMEZONE"
 
994
></A
 
995
><TT
 
996
CLASS="VARNAME"
 
997
>timezone</TT
 
998
> (<TT
 
999
CLASS="TYPE"
 
1000
>string</TT
 
1001
>)</DT
 
1002
><DD
 
1003
><P
 
1004
>        Sets the time zone for displaying and interpreting time stamps.
 
1005
        The default is <TT
 
1006
CLASS="LITERAL"
 
1007
>unknown</TT
 
1008
>, which means to use whatever
 
1009
        the system environment specifies as the time zone.  See <A
 
1010
HREF="datatype-datetime.html#DATATYPE-TIMEZONES"
 
1011
>Section 8.5.3</A
 
1012
> for more
 
1013
        information.
 
1014
       </P
 
1015
></DD
 
1016
><DT
 
1017
><A
 
1018
NAME="GUC-TIMEZONE-ABBREVIATIONS"
 
1019
></A
 
1020
><TT
 
1021
CLASS="VARNAME"
 
1022
>timezone_abbreviations</TT
 
1023
> (<TT
 
1024
CLASS="TYPE"
 
1025
>string</TT
 
1026
>)</DT
 
1027
><DD
 
1028
><P
 
1029
>        Sets the collection of time zone abbreviations that will be accepted
 
1030
        by the server for datetime input.  The default is <TT
 
1031
CLASS="LITERAL"
 
1032
>'Default'</TT
 
1033
>,
 
1034
        which is a collection that works in most of the world; there are
 
1035
        also 'Australia' and 'India', and other collections can be defined
 
1036
        for a particular installation.  See <A
 
1037
HREF="datetime-appendix.html"
 
1038
>Appendix B</A
 
1039
> for more information.
 
1040
       </P
 
1041
></DD
 
1042
><DT
 
1043
><A
 
1044
NAME="GUC-EXTRA-FLOAT-DIGITS"
 
1045
></A
 
1046
><TT
 
1047
CLASS="VARNAME"
 
1048
>extra_float_digits</TT
 
1049
> (<TT
 
1050
CLASS="TYPE"
 
1051
>integer</TT
 
1052
>)</DT
 
1053
><DD
 
1054
><P
 
1055
>        This parameter adjusts the number of digits displayed for
 
1056
        floating-point values, including <TT
 
1057
CLASS="TYPE"
 
1058
>float4</TT
 
1059
>, <TT
 
1060
CLASS="TYPE"
 
1061
>float8</TT
 
1062
>,
 
1063
        and geometric data types.  The parameter value is added to the
 
1064
        standard number of digits (<TT
 
1065
CLASS="LITERAL"
 
1066
>FLT_DIG</TT
 
1067
> or <TT
 
1068
CLASS="LITERAL"
 
1069
>DBL_DIG</TT
 
1070
>
 
1071
        as appropriate).  The value can be set as high as 3, to include
 
1072
        partially-significant digits; this is especially useful for dumping
 
1073
        float data that needs to be restored exactly.  Or it can be set
 
1074
        negative to suppress unwanted digits.
 
1075
       </P
 
1076
></DD
 
1077
><DT
 
1078
><A
 
1079
NAME="GUC-CLIENT-ENCODING"
 
1080
></A
 
1081
><TT
 
1082
CLASS="VARNAME"
 
1083
>client_encoding</TT
 
1084
> (<TT
 
1085
CLASS="TYPE"
 
1086
>string</TT
 
1087
>)</DT
 
1088
><DD
 
1089
><P
 
1090
>        Sets the client-side encoding (character set).
 
1091
        The default is to use the database encoding.
 
1092
        The character sets supported by the <SPAN
 
1093
CLASS="PRODUCTNAME"
 
1094
>PostgreSQL</SPAN
 
1095
>
 
1096
        server are described in <A
 
1097
HREF="multibyte.html#MULTIBYTE-CHARSET-SUPPORTED"
 
1098
>Section 22.3.1</A
 
1099
>.
 
1100
       </P
 
1101
></DD
 
1102
><DT
 
1103
><A
 
1104
NAME="GUC-LC-MESSAGES"
 
1105
></A
 
1106
><TT
 
1107
CLASS="VARNAME"
 
1108
>lc_messages</TT
 
1109
> (<TT
 
1110
CLASS="TYPE"
 
1111
>string</TT
 
1112
>)</DT
 
1113
><DD
 
1114
><P
 
1115
>        Sets the language in which messages are displayed.  Acceptable
 
1116
        values are system-dependent; see <A
 
1117
HREF="locale.html"
 
1118
>Section 22.1</A
 
1119
> for
 
1120
        more information.  If this variable is set to the empty string
 
1121
        (which is the default) then the value is inherited from the
 
1122
        execution environment of the server in a system-dependent way.
 
1123
       </P
 
1124
><P
 
1125
>        On some systems, this locale category does not exist.  Setting
 
1126
        this variable will still work, but there will be no effect.
 
1127
        Also, there is a chance that no translated messages for the
 
1128
        desired language exist.  In that case you will continue to see
 
1129
        the English messages.
 
1130
       </P
 
1131
><P
 
1132
>        Only superusers can change this setting, because it affects the
 
1133
        messages sent to the server log as well as to the client, and
 
1134
        an improper value might obscure the readability of the server
 
1135
        logs.
 
1136
       </P
 
1137
></DD
 
1138
><DT
 
1139
><A
 
1140
NAME="GUC-LC-MONETARY"
 
1141
></A
 
1142
><TT
 
1143
CLASS="VARNAME"
 
1144
>lc_monetary</TT
 
1145
> (<TT
 
1146
CLASS="TYPE"
 
1147
>string</TT
 
1148
>)</DT
 
1149
><DD
 
1150
><P
 
1151
>        Sets the locale to use for formatting monetary amounts, for
 
1152
        example with the <CODE
 
1153
CLASS="FUNCTION"
 
1154
>to_char</CODE
 
1155
> family of
 
1156
        functions.  Acceptable values are system-dependent; see <A
 
1157
HREF="locale.html"
 
1158
>Section 22.1</A
 
1159
> for more information.  If this variable is
 
1160
        set to the empty string (which is the default) then the value
 
1161
        is inherited from the execution environment of the server in a
 
1162
        system-dependent way.
 
1163
       </P
 
1164
></DD
 
1165
><DT
 
1166
><A
 
1167
NAME="GUC-LC-NUMERIC"
 
1168
></A
 
1169
><TT
 
1170
CLASS="VARNAME"
 
1171
>lc_numeric</TT
 
1172
> (<TT
 
1173
CLASS="TYPE"
 
1174
>string</TT
 
1175
>)</DT
 
1176
><DD
 
1177
><P
 
1178
>        Sets the locale to use for formatting numbers, for example
 
1179
        with the <CODE
 
1180
CLASS="FUNCTION"
 
1181
>to_char</CODE
 
1182
> family of
 
1183
        functions. Acceptable values are system-dependent; see <A
 
1184
HREF="locale.html"
 
1185
>Section 22.1</A
 
1186
> for more information.  If this variable is
 
1187
        set to the empty string (which is the default) then the value
 
1188
        is inherited from the execution environment of the server in a
 
1189
        system-dependent way.
 
1190
       </P
 
1191
></DD
 
1192
><DT
 
1193
><A
 
1194
NAME="GUC-LC-TIME"
 
1195
></A
 
1196
><TT
 
1197
CLASS="VARNAME"
 
1198
>lc_time</TT
 
1199
> (<TT
 
1200
CLASS="TYPE"
 
1201
>string</TT
 
1202
>)</DT
 
1203
><DD
 
1204
><P
 
1205
>        Sets the locale to use for formatting dates and times, for example
 
1206
        with the <CODE
 
1207
CLASS="FUNCTION"
 
1208
>to_char</CODE
 
1209
> family of
 
1210
        functions. Acceptable values are system-dependent; see <A
 
1211
HREF="locale.html"
 
1212
>Section 22.1</A
 
1213
> for more information.  If this variable is
 
1214
        set to the empty string (which is the default) then the value
 
1215
        is inherited from the execution environment of the server in a
 
1216
        system-dependent way.
 
1217
       </P
 
1218
></DD
 
1219
><DT
 
1220
><A
 
1221
NAME="GUC-DEFAULT-TEXT-SEARCH-CONFIG"
 
1222
></A
 
1223
><TT
 
1224
CLASS="VARNAME"
 
1225
>default_text_search_config</TT
 
1226
> (<TT
 
1227
CLASS="TYPE"
 
1228
>string</TT
 
1229
>)</DT
 
1230
><DD
 
1231
><P
 
1232
>        Selects the text search configuration that is used by those variants
 
1233
        of the text search functions that do not have an explicit argument
 
1234
        specifying the configuration.
 
1235
        See <A
 
1236
HREF="textsearch.html"
 
1237
>Chapter 12</A
 
1238
> for further information.
 
1239
        The built-in default is <TT
 
1240
CLASS="LITERAL"
 
1241
>pg_catalog.simple</TT
 
1242
>, but
 
1243
        <SPAN
 
1244
CLASS="APPLICATION"
 
1245
>initdb</SPAN
 
1246
> will initialize the
 
1247
        configuration file with a setting that corresponds to the
 
1248
        chosen <TT
 
1249
CLASS="VARNAME"
 
1250
>lc_ctype</TT
 
1251
> locale, if a configuration
 
1252
        matching that locale can be identified.
 
1253
       </P
 
1254
></DD
 
1255
></DL
 
1256
></DIV
 
1257
></DIV
 
1258
><DIV
 
1259
CLASS="SECT2"
 
1260
><H2
 
1261
CLASS="SECT2"
 
1262
><A
 
1263
NAME="RUNTIME-CONFIG-CLIENT-OTHER"
 
1264
>18.10.3. Other Defaults</A
 
1265
></H2
 
1266
><P
 
1267
></P
 
1268
><DIV
 
1269
CLASS="VARIABLELIST"
 
1270
><DL
 
1271
><DT
 
1272
><A
 
1273
NAME="GUC-DYNAMIC-LIBRARY-PATH"
 
1274
></A
 
1275
><TT
 
1276
CLASS="VARNAME"
 
1277
>dynamic_library_path</TT
 
1278
> (<TT
 
1279
CLASS="TYPE"
 
1280
>string</TT
 
1281
>)</DT
 
1282
><DD
 
1283
><P
 
1284
>        If a dynamically loadable module needs to be opened and the
 
1285
        file name specified in the <TT
 
1286
CLASS="COMMAND"
 
1287
>CREATE FUNCTION</TT
 
1288
> or
 
1289
        <TT
 
1290
CLASS="COMMAND"
 
1291
>LOAD</TT
 
1292
> command
 
1293
        does not have a directory component (i.e., the
 
1294
        name does not contain a slash), the system will search this
 
1295
        path for the required file.
 
1296
       </P
 
1297
><P
 
1298
>        The value for <TT
 
1299
CLASS="VARNAME"
 
1300
>dynamic_library_path</TT
 
1301
> must be a
 
1302
        list of absolute directory paths separated by colons (or semi-colons
 
1303
        on Windows).  If a list element starts
 
1304
        with the special string <TT
 
1305
CLASS="LITERAL"
 
1306
>$libdir</TT
 
1307
>, the
 
1308
        compiled-in <SPAN
 
1309
CLASS="PRODUCTNAME"
 
1310
>PostgreSQL</SPAN
 
1311
> package
 
1312
        library directory is substituted for <TT
 
1313
CLASS="LITERAL"
 
1314
>$libdir</TT
 
1315
>; this
 
1316
        is where the modules provided by the standard
 
1317
        <SPAN
 
1318
CLASS="PRODUCTNAME"
 
1319
>PostgreSQL</SPAN
 
1320
> distribution are installed.
 
1321
        (Use <TT
 
1322
CLASS="LITERAL"
 
1323
>pg_config --pkglibdir</TT
 
1324
> to find out the name of
 
1325
        this directory.) For example:
 
1326
</P><PRE
 
1327
CLASS="PROGRAMLISTING"
 
1328
>dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir'</PRE
 
1329
><P>
 
1330
        or, in a Windows environment:
 
1331
</P><PRE
 
1332
CLASS="PROGRAMLISTING"
 
1333
>dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'</PRE
 
1334
><P>
 
1335
       </P
 
1336
><P
 
1337
>        The default value for this parameter is
 
1338
        <TT
 
1339
CLASS="LITERAL"
 
1340
>'$libdir'</TT
 
1341
>. If the value is set to an empty
 
1342
        string, the automatic path search is turned off.
 
1343
       </P
 
1344
><P
 
1345
>        This parameter can be changed at run time by superusers, but a
 
1346
        setting done that way will only persist until the end of the
 
1347
        client connection, so this method should be reserved for
 
1348
        development purposes. The recommended way to set this parameter
 
1349
        is in the <TT
 
1350
CLASS="FILENAME"
 
1351
>postgresql.conf</TT
 
1352
> configuration
 
1353
        file.
 
1354
       </P
 
1355
></DD
 
1356
><DT
 
1357
><A
 
1358
NAME="GUC-GIN-FUZZY-SEARCH-LIMIT"
 
1359
></A
 
1360
><TT
 
1361
CLASS="VARNAME"
 
1362
>gin_fuzzy_search_limit</TT
 
1363
> (<TT
 
1364
CLASS="TYPE"
 
1365
>integer</TT
 
1366
>)</DT
 
1367
><DD
 
1368
><P
 
1369
>        Soft upper limit of the size of the set returned by GIN index scans. For more
 
1370
        information see <A
 
1371
HREF="gin-tips.html"
 
1372
>Section 54.4</A
 
1373
>.
 
1374
       </P
 
1375
></DD
 
1376
><DT
 
1377
><A
 
1378
NAME="GUC-LOCAL-PRELOAD-LIBRARIES"
 
1379
></A
 
1380
><TT
 
1381
CLASS="VARNAME"
 
1382
>local_preload_libraries</TT
 
1383
> (<TT
 
1384
CLASS="TYPE"
 
1385
>string</TT
 
1386
>)</DT
 
1387
><DD
 
1388
><P
 
1389
>        This variable specifies one or more shared libraries that are
 
1390
        to be preloaded at connection start.  If more than one library
 
1391
        is to be loaded, separate their names with commas.  All library
 
1392
        names are converted to lower case unless double-quoted.
 
1393
        This parameter cannot be changed after the start of a particular
 
1394
        session.
 
1395
       </P
 
1396
><P
 
1397
>        Because this is not a superuser-only option, the libraries
 
1398
        that can be loaded are restricted to those appearing in the
 
1399
        <TT
 
1400
CLASS="FILENAME"
 
1401
>plugins</TT
 
1402
> subdirectory of the installation's
 
1403
        standard library directory.  (It is the database administrator's
 
1404
        responsibility to ensure that only <SPAN
 
1405
CLASS="QUOTE"
 
1406
>"safe"</SPAN
 
1407
> libraries
 
1408
        are installed there.)  Entries in <TT
 
1409
CLASS="VARNAME"
 
1410
>local_preload_libraries</TT
 
1411
>
 
1412
        can specify this directory explicitly, for example
 
1413
        <TT
 
1414
CLASS="LITERAL"
 
1415
>$libdir/plugins/mylib</TT
 
1416
>, or just specify
 
1417
        the library name &mdash; <TT
 
1418
CLASS="LITERAL"
 
1419
>mylib</TT
 
1420
> would have
 
1421
        the same effect as <TT
 
1422
CLASS="LITERAL"
 
1423
>$libdir/plugins/mylib</TT
 
1424
>.
 
1425
       </P
 
1426
><P
 
1427
>        Unlike <TT
 
1428
CLASS="VARNAME"
 
1429
>local_preload_libraries</TT
 
1430
>, there is no
 
1431
        performance advantage to loading a library at session
 
1432
        start rather than when it is first used.  Rather, the intent of
 
1433
        this feature is to allow debugging or performance-measurement
 
1434
        libraries to be loaded into specific sessions without an explicit
 
1435
        <TT
 
1436
CLASS="COMMAND"
 
1437
>LOAD</TT
 
1438
> command being given.  For example, debugging could
 
1439
        be enabled for all sessions under a given user name by setting
 
1440
        this parameter with <TT
 
1441
CLASS="COMMAND"
 
1442
>ALTER USER SET</TT
 
1443
>.
 
1444
       </P
 
1445
><P
 
1446
>        If a specified library is not found,
 
1447
        the connection attempt will fail.
 
1448
       </P
 
1449
><P
 
1450
>        Every  PostgreSQL-supported library has a <SPAN
 
1451
CLASS="QUOTE"
 
1452
>"magic
 
1453
        block"</SPAN
 
1454
> that is checked to guarantee compatibility.
 
1455
        For this reason, non-PostgreSQL libraries cannot be
 
1456
        loaded in this way.
 
1457
       </P
 
1458
></DD
 
1459
></DL
 
1460
></DIV
 
1461
></DIV
 
1462
></DIV
 
1463
><DIV
 
1464
CLASS="NAVFOOTER"
 
1465
><HR
 
1466
ALIGN="LEFT"
 
1467
WIDTH="100%"><TABLE
 
1468
SUMMARY="Footer navigation table"
 
1469
WIDTH="100%"
 
1470
BORDER="0"
 
1471
CELLPADDING="0"
 
1472
CELLSPACING="0"
 
1473
><TR
 
1474
><TD
 
1475
WIDTH="33%"
 
1476
ALIGN="left"
 
1477
VALIGN="top"
 
1478
><A
 
1479
HREF="runtime-config-autovacuum.html"
 
1480
ACCESSKEY="P"
 
1481
>Prev</A
 
1482
></TD
 
1483
><TD
 
1484
WIDTH="34%"
 
1485
ALIGN="center"
 
1486
VALIGN="top"
 
1487
><A
 
1488
HREF="index.html"
 
1489
ACCESSKEY="H"
 
1490
>Home</A
 
1491
></TD
 
1492
><TD
 
1493
WIDTH="33%"
 
1494
ALIGN="right"
 
1495
VALIGN="top"
 
1496
><A
 
1497
HREF="runtime-config-locks.html"
 
1498
ACCESSKEY="N"
 
1499
>Next</A
 
1500
></TD
 
1501
></TR
 
1502
><TR
 
1503
><TD
 
1504
WIDTH="33%"
 
1505
ALIGN="left"
 
1506
VALIGN="top"
 
1507
>Automatic Vacuuming</TD
 
1508
><TD
 
1509
WIDTH="34%"
 
1510
ALIGN="center"
 
1511
VALIGN="top"
 
1512
><A
 
1513
HREF="runtime-config.html"
 
1514
ACCESSKEY="U"
 
1515
>Up</A
 
1516
></TD
 
1517
><TD
 
1518
WIDTH="33%"
 
1519
ALIGN="right"
 
1520
VALIGN="top"
 
1521
>Lock Management</TD
 
1522
></TR
 
1523
></TABLE
 
1524
></DIV
 
1525
></BODY
 
1526
></HTML
 
1527
>
 
 
b'\\ No newline at end of file'