Skip to content

Commit 0196880

Browse files
authored
Merge pull request #472 from vpodzime/master-fix_postgres_conf_patch
Fix the patch file for postgresql.conf to apply
2 parents 2bc8b96 + fafba08 commit 0196880

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

deps-packaging/postgresql-hub/postgresql.conf.cfengine.patch

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
--- src/backend/utils/misc/postgresql.conf.sample 2018-09-27 13:27:41.003428305 +0200
2-
+++ src/backend/utils/misc/postgresql.conf.cfengine 2018-09-27 13:41:01.367354915 +0200
1+
--- src/backend/utils/misc/postgresql.conf.sample 2018-05-07 22:51:40.000000000 +0200
2+
+++ src/backend/utils/misc/postgresql.conf.cfengine 2018-11-02 09:00:53.333034654 +0100
33
@@ -1,6 +1,6 @@
44
-# -----------------------------
55
-# PostgreSQL configuration file
@@ -10,7 +10,7 @@
1010
#
1111
# This file consists of lines of the form:
1212
#
13-
@@ -59,12 +59,16 @@
13+
@@ -61,12 +61,16 @@
1414
# defaults to 'localhost'; use '*' for all
1515
# (change requires restart)
1616
#port = 5432 # (change requires restart)
@@ -24,13 +24,13 @@
2424
#unix_socket_directories = '/tmp' # comma-separated list of directories
2525
# (change requires restart)
2626
-#unix_socket_group = '' # (change requires restart)
27-
+unix_socket_group = 'cfpostgres' # (change requires restart)
2827
-#unix_socket_permissions = 0777 # begin with 0 to use octal notation
28+
+unix_socket_group = 'cfpostgres' # (change requires restart)
2929
+unix_socket_permissions = 0770 # begin with 0 to use octal notation
3030
# (change requires restart)
3131
#bonjour = off # advertise server via Bonjour
3232
# (change requires restart)
33-
@@ -108,7 +112,7 @@
33+
@@ -110,7 +114,7 @@
3434

3535
# - Memory -
3636

@@ -39,7 +39,7 @@
3939
# (change requires restart)
4040
#huge_pages = try # on, off, or try
4141
# (change requires restart)
42-
@@ -117,8 +121,14 @@
42+
@@ -119,11 +123,17 @@
4343
# (change requires restart)
4444
# Caution: it is not advisable to set max_prepared_transactions nonzero unless
4545
# you actively intend to use prepared transactions.
@@ -57,7 +57,10 @@
5757
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
5858
-#max_stack_depth = 2MB # min 100kB
5959
+max_stack_depth = 4MB # min 100kB
60-
@@ -180,7 +190,7 @@
60+
#dynamic_shared_memory_type = posix # the default is the first option
61+
# supported by the operating system:
62+
# posix
63+
@@ -182,7 +192,7 @@
6164
#fsync = on # flush data to disk for crash safety
6265
# (turning this off can cause
6366
# unrecoverable data corruption)
@@ -66,7 +69,7 @@
6669
# off, local, remote_write, remote_apply, or on
6770
#wal_sync_method = fsync # the default is the first option
6871
# supported by the operating system:
69-
@@ -204,8 +214,9 @@
72+
@@ -206,8 +216,9 @@
7073
# - Checkpoints -
7174

7275
#checkpoint_timeout = 5min # range 30s-1d
@@ -77,7 +80,7 @@
7780
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
7881
#checkpoint_flush_after = 0 # measured in pages, 0 disables
7982
#checkpoint_warning = 30s # 0 disables
80-
@@ -440,7 +451,7 @@
83+
@@ -442,7 +453,7 @@
8184
#log_duration = off
8285
#log_error_verbosity = default # terse, default, or verbose messages
8386
#log_hostname = off
@@ -86,7 +89,7 @@
8689
# %a = application name
8790
# %u = user name
8891
# %d = database name
89-
@@ -509,21 +520,21 @@
92+
@@ -511,21 +522,21 @@
9093
# their durations, > 0 logs only
9194
# actions running at least this number
9295
# of milliseconds.
@@ -111,7 +114,7 @@
111114
# autovacuum, in milliseconds;
112115
# -1 means use vacuum_cost_delay
113116
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
114-
@@ -596,6 +607,10 @@
117+
@@ -598,6 +609,10 @@
115118
# LOCK MANAGEMENT
116119
#------------------------------------------------------------------------------
117120

0 commit comments

Comments
 (0)