syncwrap 2.1.3 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,540 +0,0 @@
1
- # -----------------------------
2
- # PostgreSQL configuration file
3
- # -----------------------------
4
- #
5
- # This file consists of lines of the form:
6
- #
7
- # name = value
8
- #
9
- # (The "=" is optional.) Whitespace may be used. Comments are introduced with
10
- # "#" anywhere on a line. The complete list of parameter names and allowed
11
- # values can be found in the PostgreSQL documentation.
12
- #
13
- # The commented-out settings shown in this file represent the default values.
14
- # Re-commenting a setting is NOT sufficient to revert it to the default value;
15
- # you need to reload the server.
16
- #
17
- # This file is read on server startup and when the server receives a SIGHUP
18
- # signal. If you edit the file on a running system, you have to SIGHUP the
19
- # server for the changes to take effect, or use "pg_ctl reload". Some
20
- # parameters, which are marked below, require a server shutdown and restart to
21
- # take effect.
22
- #
23
- # Any parameter can also be given as a command-line option to the server, e.g.,
24
- # "postgres -c log_connections=on". Some parameters can be changed at run time
25
- # with the "SET" SQL command.
26
- #
27
- # Memory units: kB = kilobytes Time units: ms = milliseconds
28
- # MB = megabytes s = seconds
29
- # GB = gigabytes min = minutes
30
- # h = hours
31
- # d = days
32
-
33
- #------------------------------------------------------------------------------
34
- # FILE LOCATIONS
35
- #------------------------------------------------------------------------------
36
-
37
- # The default values of these variables are driven from the -D command-line
38
- # option or PGDATA environment variable, represented here as ConfigDir.
39
-
40
- data_directory = '/mnt/postgresql/9.1/main' # use data in another directory
41
- # (change requires restart)
42
- hba_file = '/etc/postgresql/9.1/main/pg_hba.conf' # host-based authentication file
43
- # (change requires restart)
44
- ident_file = '/etc/postgresql/9.1/main/pg_ident.conf' # ident configuration file
45
- # (change requires restart)
46
-
47
- # If external_pid_file is not explicitly set, no extra PID file is written.
48
- external_pid_file = '/var/run/postgresql/9.1-main.pid' # write an extra PID file
49
- # (change requires restart)
50
-
51
- #------------------------------------------------------------------------------
52
- # CONNECTIONS AND AUTHENTICATION
53
- #------------------------------------------------------------------------------
54
-
55
- # - Connection Settings -
56
-
57
- #listen_addresses = 'localhost' # what IP address(es) to listen on;
58
- # comma-separated list of addresses;
59
- # defaults to 'localhost', '*' = all
60
- # (change requires restart)
61
- port = 5432 # (change requires restart)
62
- max_connections = 100 # (change requires restart)
63
- # Note: Increasing max_connections costs ~400 bytes of shared memory per
64
- # connection slot, plus lock space (see max_locks_per_transaction).
65
- #superuser_reserved_connections = 3 # (change requires restart)
66
- unix_socket_directory = '/var/run/postgresql' # (change requires restart)
67
- #unix_socket_group = '' # (change requires restart)
68
- #unix_socket_permissions = 0777 # begin with 0 to use octal notation
69
- # (change requires restart)
70
- #bonjour = off # advertise server via Bonjour
71
- # (change requires restart)
72
- #bonjour_name = '' # defaults to the computer name
73
- # (change requires restart)
74
-
75
- # - Security and Authentication -
76
-
77
- #authentication_timeout = 1min # 1s-600s
78
- ssl = true # (change requires restart)
79
- #ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH' # allowed SSL ciphers
80
- # (change requires restart)
81
- #ssl_renegotiation_limit = 512MB # amount of data between renegotiations
82
- #password_encryption = on
83
- #db_user_namespace = off
84
-
85
- # Kerberos and GSSAPI
86
- #krb_server_keyfile = ''
87
- #krb_srvname = 'postgres' # (Kerberos only)
88
- #krb_caseins_users = off
89
-
90
- # - TCP Keepalives -
91
- # see "man 7 tcp" for details
92
-
93
- #tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
94
- # 0 selects the system default
95
- #tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds;
96
- # 0 selects the system default
97
- #tcp_keepalives_count = 0 # TCP_KEEPCNT;
98
- # 0 selects the system default
99
-
100
- #------------------------------------------------------------------------------
101
- # RESOURCE USAGE (except WAL)
102
- #------------------------------------------------------------------------------
103
-
104
- # - Memory -
105
-
106
- shared_buffers = 256MB # min 128kB
107
- # (change requires restart)
108
- #temp_buffers = 8MB # min 800kB
109
- #max_prepared_transactions = 0 # zero disables the feature
110
- # (change requires restart)
111
- # Note: Increasing max_prepared_transactions costs ~600 bytes of shared memory
112
- # per transaction slot, plus lock space (see max_locks_per_transaction).
113
- # It is not advisable to set max_prepared_transactions nonzero unless you
114
- # actively intend to use prepared transactions.
115
- work_mem = 128MB # min 64kB
116
- maintenance_work_mem = 128MB # min 1MB
117
- max_stack_depth = 4MB # min 100kB
118
-
119
- # - Kernel Resource Usage -
120
-
121
- #max_files_per_process = 1000 # min 25
122
- # (change requires restart)
123
- #shared_preload_libraries = '' # (change requires restart)
124
-
125
- # - Cost-Based Vacuum Delay -
126
-
127
- #vacuum_cost_delay = 0ms # 0-100 milliseconds
128
- #vacuum_cost_page_hit = 1 # 0-10000 credits
129
- #vacuum_cost_page_miss = 10 # 0-10000 credits
130
- #vacuum_cost_page_dirty = 20 # 0-10000 credits
131
- #vacuum_cost_limit = 200 # 1-10000 credits
132
-
133
- # - Background Writer -
134
-
135
- #bgwriter_delay = 200ms # 10-10000ms between rounds
136
- #bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
137
- #bgwriter_lru_multiplier = 2.0 # 0-10.0 multipler on buffers scanned/round
138
-
139
- # - Asynchronous Behavior -
140
-
141
- effective_io_concurrency = 4 # 1-1000. 0 disables prefetching
142
-
143
- #------------------------------------------------------------------------------
144
- # WRITE AHEAD LOG
145
- #------------------------------------------------------------------------------
146
-
147
- # - Settings -
148
-
149
- #wal_level = minimal # minimal, archive, or hot_standby
150
- # (change requires restart)
151
- #fsync = on # turns forced synchronization on or off
152
- synchronous_commit = off # synchronization level; on, off, or local
153
- #wal_sync_method = fsync # the default is the first option
154
- # supported by the operating system:
155
- # open_datasync
156
- # fdatasync (default on Linux)
157
- # fsync
158
- # fsync_writethrough
159
- # open_sync
160
- #full_page_writes = on # recover from partial page writes
161
- #wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
162
- # (change requires restart)
163
- #wal_writer_delay = 200ms # 1-10000 milliseconds
164
-
165
- commit_delay = 10000 # range 0-100000, in microseconds
166
- #commit_siblings = 5 # range 1-1000
167
-
168
- # - Checkpoints -
169
-
170
- checkpoint_segments = 16 # in logfile segments, min 1, 16MB each
171
- #checkpoint_timeout = 5min # range 30s-1h
172
- #checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
173
- #checkpoint_warning = 30s # 0 disables
174
-
175
- # - Archiving -
176
-
177
- #archive_mode = off # allows archiving to be done
178
- # (change requires restart)
179
- #archive_command = '' # command to use to archive a logfile segment
180
- #archive_timeout = 0 # force a logfile segment switch after this
181
- # number of seconds; 0 disables
182
-
183
- #------------------------------------------------------------------------------
184
- # REPLICATION
185
- #------------------------------------------------------------------------------
186
-
187
- # - Master Server -
188
-
189
- # These settings are ignored on a standby server
190
-
191
- #max_wal_senders = 0 # max number of walsender processes
192
- # (change requires restart)
193
- #wal_sender_delay = 1s # walsender cycle time, 1-10000 milliseconds
194
- #wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
195
- #vacuum_defer_cleanup_age = 0 # number of xacts by which cleanup is delayed
196
- #replication_timeout = 60s # in milliseconds; 0 disables
197
- #synchronous_standby_names = '' # standby servers that provide sync rep
198
- # comma-separated list of application_name
199
- # from standby(s); '*' = all
200
-
201
- # - Standby Servers -
202
-
203
- # These settings are ignored on a master server
204
-
205
- #hot_standby = off # "on" allows queries during recovery
206
- # (change requires restart)
207
- #max_standby_archive_delay = 30s # max delay before canceling queries
208
- # when reading WAL from archive;
209
- # -1 allows indefinite delay
210
- #max_standby_streaming_delay = 30s # max delay before canceling queries
211
- # when reading streaming WAL;
212
- # -1 allows indefinite delay
213
- #wal_receiver_status_interval = 10s # send replies at least this often
214
- # 0 disables
215
- #hot_standby_feedback = off # send info from standby to prevent
216
- # query conflicts
217
-
218
- #------------------------------------------------------------------------------
219
- # QUERY TUNING
220
- #------------------------------------------------------------------------------
221
-
222
- # - Planner Method Configuration -
223
-
224
- #enable_bitmapscan = on
225
- #enable_hashagg = on
226
- #enable_hashjoin = on
227
- #enable_indexscan = on
228
- #enable_material = on
229
- #enable_mergejoin = on
230
- #enable_nestloop = on
231
- #enable_seqscan = on
232
- #enable_sort = on
233
- #enable_tidscan = on
234
-
235
- # - Planner Cost Constants -
236
-
237
- #seq_page_cost = 1.0 # measured on an arbitrary scale
238
- #random_page_cost = 4.0 # same scale as above
239
- #cpu_tuple_cost = 0.01 # same scale as above
240
- #cpu_index_tuple_cost = 0.005 # same scale as above
241
- #cpu_operator_cost = 0.0025 # same scale as above
242
- #effective_cache_size = 128MB
243
-
244
- # - Genetic Query Optimizer -
245
-
246
- #geqo = on
247
- #geqo_threshold = 12
248
- #geqo_effort = 5 # range 1-10
249
- #geqo_pool_size = 0 # selects default based on effort
250
- #geqo_generations = 0 # selects default based on effort
251
- #geqo_selection_bias = 2.0 # range 1.5-2.0
252
- #geqo_seed = 0.0 # range 0.0-1.0
253
-
254
- # - Other Planner Options -
255
-
256
- #default_statistics_target = 100 # range 1-10000
257
- #constraint_exclusion = partition # on, off, or partition
258
- #cursor_tuple_fraction = 0.1 # range 0.0-1.0
259
- #from_collapse_limit = 8
260
- #join_collapse_limit = 8 # 1 disables collapsing of explicit
261
- # JOIN clauses
262
-
263
- #------------------------------------------------------------------------------
264
- # ERROR REPORTING AND LOGGING
265
- #------------------------------------------------------------------------------
266
-
267
- # - Where to Log -
268
-
269
- #log_destination = 'stderr' # Valid values are combinations of
270
- # stderr, csvlog, syslog, and eventlog,
271
- # depending on platform. csvlog
272
- # requires logging_collector to be on.
273
-
274
- # This is used when logging to stderr:
275
- #logging_collector = off # Enable capturing of stderr and csvlog
276
- # into log files. Required to be on for
277
- # csvlogs.
278
- # (change requires restart)
279
-
280
- # These are only used if logging_collector is on:
281
- #log_directory = 'pg_log' # directory where log files are written,
282
- # can be absolute or relative to PGDATA
283
- #log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
284
- # can include strftime() escapes
285
- #log_file_mode = 0600 # creation mode for log files,
286
- # begin with 0 to use octal notation
287
- #log_truncate_on_rotation = off # If on, an existing log file with the
288
- # same name as the new log file will be
289
- # truncated rather than appended to.
290
- # But such truncation only occurs on
291
- # time-driven rotation, not on restarts
292
- # or size-driven rotation. Default is
293
- # off, meaning append to existing files
294
- # in all cases.
295
- #log_rotation_age = 1d # Automatic rotation of logfiles will
296
- # happen after that time. 0 disables.
297
- #log_rotation_size = 10MB # Automatic rotation of logfiles will
298
- # happen after that much log output.
299
- # 0 disables.
300
-
301
- # These are relevant when logging to syslog:
302
- #syslog_facility = 'LOCAL0'
303
- #syslog_ident = 'postgres'
304
-
305
- #silent_mode = off # Run server silently.
306
- # DO NOT USE without syslog or
307
- # logging_collector
308
- # (change requires restart)
309
-
310
- # - When to Log -
311
-
312
- #client_min_messages = notice # values in order of decreasing detail:
313
- # debug5
314
- # debug4
315
- # debug3
316
- # debug2
317
- # debug1
318
- # log
319
- # notice
320
- # warning
321
- # error
322
-
323
- #log_min_messages = warning # values in order of decreasing detail:
324
- # debug5
325
- # debug4
326
- # debug3
327
- # debug2
328
- # debug1
329
- # info
330
- # notice
331
- # warning
332
- # error
333
- # log
334
- # fatal
335
- # panic
336
-
337
- #log_min_error_statement = error # values in order of decreasing detail:
338
- # debug5
339
- # debug4
340
- # debug3
341
- # debug2
342
- # debug1
343
- # info
344
- # notice
345
- # warning
346
- # error
347
- # log
348
- # fatal
349
- # panic (effectively off)
350
-
351
- #log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
352
- # and their durations, > 0 logs only
353
- # statements running at least this number
354
- # of milliseconds
355
-
356
- # - What to Log -
357
-
358
- #debug_print_parse = off
359
- #debug_print_rewritten = off
360
- #debug_print_plan = off
361
- #debug_pretty_print = on
362
- #log_checkpoints = off
363
- #log_connections = off
364
- #log_disconnections = off
365
- #log_duration = off
366
- #log_error_verbosity = default # terse, default, or verbose messages
367
- #log_hostname = off
368
- log_line_prefix = '%t ' # special values:
369
- # %a = application name
370
- # %u = user name
371
- # %d = database name
372
- # %r = remote host and port
373
- # %h = remote host
374
- # %p = process ID
375
- # %t = timestamp without milliseconds
376
- # %m = timestamp with milliseconds
377
- # %i = command tag
378
- # %e = SQL state
379
- # %c = session ID
380
- # %l = session line number
381
- # %s = session start timestamp
382
- # %v = virtual transaction ID
383
- # %x = transaction ID (0 if none)
384
- # %q = stop here in non-session
385
- # processes
386
- # %% = '%'
387
- # e.g. '<%u%%%d> '
388
- #log_lock_waits = off # log lock waits >= deadlock_timeout
389
- #log_statement = 'none' # none, ddl, mod, all
390
- #log_temp_files = -1 # log temporary files equal or larger
391
- # than the specified size in kilobytes;
392
- # -1 disables, 0 logs all temp files
393
- #log_timezone = '(defaults to server environment setting)'
394
-
395
- #------------------------------------------------------------------------------
396
- # RUNTIME STATISTICS
397
- #------------------------------------------------------------------------------
398
-
399
- # - Query/Index Statistics Collector -
400
-
401
- #track_activities = on
402
- #track_counts = on
403
- #track_functions = none # none, pl, all
404
- #track_activity_query_size = 1024 # (change requires restart)
405
- #update_process_title = on
406
- #stats_temp_directory = 'pg_stat_tmp'
407
-
408
- # - Statistics Monitoring -
409
-
410
- #log_parser_stats = off
411
- #log_planner_stats = off
412
- #log_executor_stats = off
413
- #log_statement_stats = off
414
-
415
- #------------------------------------------------------------------------------
416
- # AUTOVACUUM PARAMETERS
417
- #------------------------------------------------------------------------------
418
-
419
- #autovacuum = on # Enable autovacuum subprocess? 'on'
420
- # requires track_counts to also be on.
421
- #log_autovacuum_min_duration = -1 # -1 disables, 0 logs all actions and
422
- # their durations, > 0 logs only
423
- # actions running at least this number
424
- # of milliseconds.
425
- #autovacuum_max_workers = 3 # max number of autovacuum subprocesses
426
- # (change requires restart)
427
- #autovacuum_naptime = 1min # time between autovacuum runs
428
- #autovacuum_vacuum_threshold = 50 # min number of row updates before
429
- # vacuum
430
- #autovacuum_analyze_threshold = 50 # min number of row updates before
431
- # analyze
432
- #autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before vacuum
433
- #autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze
434
- #autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
435
- # (change requires restart)
436
- #autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
437
- # autovacuum, in milliseconds;
438
- # -1 means use vacuum_cost_delay
439
- #autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
440
- # autovacuum, -1 means use
441
- # vacuum_cost_limit
442
-
443
- #------------------------------------------------------------------------------
444
- # CLIENT CONNECTION DEFAULTS
445
- #------------------------------------------------------------------------------
446
-
447
- # - Statement Behavior -
448
-
449
- #search_path = '"$user",public' # schema names
450
- #default_tablespace = '' # a tablespace name, '' uses the default
451
- #temp_tablespaces = '' # a list of tablespace names, '' uses
452
- # only default tablespace
453
- #check_function_bodies = on
454
- #default_transaction_isolation = 'read committed'
455
- #default_transaction_read_only = off
456
- #default_transaction_deferrable = off
457
- #session_replication_role = 'origin'
458
- #statement_timeout = 0 # in milliseconds, 0 is disabled
459
- #vacuum_freeze_min_age = 50000000
460
- #vacuum_freeze_table_age = 150000000
461
- #bytea_output = 'hex' # hex, escape
462
- #xmlbinary = 'base64'
463
- #xmloption = 'content'
464
-
465
- # - Locale and Formatting -
466
-
467
- datestyle = 'iso, mdy'
468
- #intervalstyle = 'postgres'
469
- #timezone = '(defaults to server environment setting)'
470
- #timezone_abbreviations = 'Default' # Select the set of available time zone
471
- # abbreviations. Currently, there are
472
- # Default
473
- # Australia
474
- # India
475
- # You can create your own file in
476
- # share/timezonesets/.
477
- #extra_float_digits = 0 # min -15, max 3
478
- #client_encoding = sql_ascii # actually, defaults to database
479
- # encoding
480
-
481
- # These settings are initialized by initdb, but they can be changed.
482
- lc_messages = 'en_US.UTF-8' # locale for system error message
483
- # strings
484
- lc_monetary = 'en_US.UTF-8' # locale for monetary formatting
485
- lc_numeric = 'en_US.UTF-8' # locale for number formatting
486
- lc_time = 'en_US.UTF-8' # locale for time formatting
487
-
488
- # default configuration for text search
489
- default_text_search_config = 'pg_catalog.english'
490
-
491
- # - Other Defaults -
492
-
493
- #dynamic_library_path = '$libdir'
494
- #local_preload_libraries = ''
495
-
496
- #------------------------------------------------------------------------------
497
- # LOCK MANAGEMENT
498
- #------------------------------------------------------------------------------
499
-
500
- #deadlock_timeout = 1s
501
- #max_locks_per_transaction = 64 # min 10
502
- # (change requires restart)
503
- # Note: Each lock table slot uses ~270 bytes of shared memory, and there are
504
- # max_locks_per_transaction * (max_connections + max_prepared_transactions)
505
- # lock table slots.
506
- #max_pred_locks_per_transaction = 64 # min 10
507
- # (change requires restart)
508
-
509
- #------------------------------------------------------------------------------
510
- # VERSION/PLATFORM COMPATIBILITY
511
- #------------------------------------------------------------------------------
512
-
513
- # - Previous PostgreSQL Versions -
514
-
515
- #array_nulls = on
516
- #backslash_quote = safe_encoding # on, off, or safe_encoding
517
- #default_with_oids = off
518
- #escape_string_warning = on
519
- #lo_compat_privileges = off
520
- #quote_all_identifiers = off
521
- #sql_inheritance = on
522
- #standard_conforming_strings = on
523
- #synchronize_seqscans = on
524
-
525
- # - Other Platforms and Clients -
526
-
527
- #transform_null_equals = off
528
-
529
- #------------------------------------------------------------------------------
530
- # ERROR HANDLING
531
- #------------------------------------------------------------------------------
532
-
533
- #exit_on_error = off # terminate session on any error?
534
- #restart_after_crash = on # reinitialize after backend crash?
535
-
536
- #------------------------------------------------------------------------------
537
- # CUSTOMIZED OPTIONS
538
- #------------------------------------------------------------------------------
539
-
540
- #custom_variable_classes = '' # list of custom variable class names
File without changes