small postgresql.conf.sample bugfix

Started by Pavel Stehulealmost 11 years ago3 messages
#1Pavel Stehule
pavel.stehule@gmail.com
1 attachment(s)

Hello

a max_locks_per_transaction is twice times in postgresql.conf.sample

Attached simple bugfix

Regards

Pavel

Attachments:

remove-redundant-max_locks_per_transaction.patchtext/x-patch; charset=US-ASCII; name=remove-redundant-max_locks_per_transaction.patchDownload
commit 89ee480408e63fc39fb6b7a23871c4f46438b7a2
Author: Pavel Stehule <pavel.stehule@gooddata.com>
Date:   Thu Jan 29 12:21:07 2015 +0100

    remove twice max_locks_per_transaction variable in postgresql.conf.sample

diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index b053659..5f1a0da 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -562,8 +562,6 @@
 #------------------------------------------------------------------------------
 
 #deadlock_timeout = 1s
-#max_locks_per_transaction = 64		# min 10
-					# (change requires restart)
 # Note:  Each lock table slot uses ~270 bytes of shared memory, and there are
 # max_locks_per_transaction * (max_connections + max_prepared_transactions)
 # lock table slots.
#2Thom Brown
thom@linux.com
In reply to: Pavel Stehule (#1)
Re: small postgresql.conf.sample bugfix

On 29 January 2015 at 11:35, Pavel Stehule <pavel.stehule@gmail.com> wrote:

Hello

a max_locks_per_transaction is twice times in postgresql.conf.sample

Attached simple bugfix

I only see one entry, which is the one you're removing. Where's the other?

Thom

#3Pavel Stehule
pavel.stehule@gmail.com
In reply to: Thom Brown (#2)
Re: small postgresql.conf.sample bugfix

2015-01-29 12:52 GMT+01:00 Thom Brown <thom@linux.com>:

On 29 January 2015 at 11:35, Pavel Stehule <pavel.stehule@gmail.com>
wrote:

Hello

a max_locks_per_transaction is twice times in postgresql.conf.sample

Attached simple bugfix

I only see one entry, which is the one you're removing. Where's the other?

You have true. I am blind.

I am sorry for noise

I had max_locks_per_transaction and max_pred_locks_per_transaction as same
strings.

Regards

Pavel

Show quoted text

Thom