From: | "Simon Riggs" <simon(at)2ndquadrant(dot)com> |
---|---|
To: | "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com> |
Cc: | <pgsql-hackers(at)postgresql(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Re: shared memory release following failed lock acquirement. |
Date: | 2004-10-04 09:17:29 |
Message-ID: | NOEFLCFHBPDAFHEIPGBOKEIKCFAA.simon@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Merlin Moncure
> > The name max_locks_per_transaction indicates a limit of some kind. The
> > documentation doesn't mention anything about whether that limit is
> > enforced
> > or not.
> >
> > I suggest the additional wording:
> > "This parameter is not a hard limit: No limit is enforced on the
> number of
> > locks in each transaction. System-wide, the total number of locks is
> > limited
> > by the size of the lock table."
>
>
> I think it's worse than that. First of all, user locks persist outside
> of transactions, but they apply to this limit.
I was really thinking of the standard locking case. Yes, user locks make it
worse.
> A more appropriate name
> for the GUC variable would be 'estimated_lock_table_size_per_backend',
> or something like that. I've been putting some thought into reworking
> the userlock contrib module into something acceptable into the main
> project, a substantial part of that being documentation changes.
>
I agree a renamed parameter would be more appropriate, though I suspect a
more accurate name will be about 5 yards long.
Documentation change would be worthwhile here... but I'll wait for your
changes before doing anything there,
Best Regards, Simon Riggs
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2004-10-04 10:17:13 | Re: Libpq problem on Windows. |
Previous Message | Zeugswetter Andreas SB SD | 2004-10-04 07:21:00 | Re: AIX and V8 beta 3 |