Re: [HACKERS] small postgresql.conf.sample bugfix

2015-01-29 Thread Pavel Stehule
2015-01-29 12:52 GMT+01:00 Thom Brown :

> On 29 January 2015 at 11:35, Pavel Stehule 
> 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


> Thom
>


Re: [HACKERS] small postgresql.conf.sample bugfix

2015-01-29 Thread Thom Brown
On 29 January 2015 at 11:35, Pavel Stehule  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


[HACKERS] small postgresql.conf.sample bugfix

2015-01-29 Thread Pavel Stehule
Hello

a max_locks_per_transaction is twice times in postgresql.conf.sample

Attached simple bugfix

Regards

Pavel
commit 89ee480408e63fc39fb6b7a23871c4f46438b7a2
Author: Pavel Stehule 
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.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers