Re: Delay locking partitions during INSERT and UPDATE
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: David Rowley <david.rowley@2ndquadrant.com>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>,
John Naylor <john.naylor@2ndquadrant.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-02-01T14:07:37Z
Lists: pgsql-hackers
On Thu, Jan 31, 2019 at 4:48 PM David Rowley <david.rowley@2ndquadrant.com> wrote: > On Fri, 1 Feb 2019 at 07:46, Robert Haas <robertmhaas@gmail.com> wrote: > > I have reviewed this patch and I am in favor of it. I think it likely > > needs minor rebasing because of the heap_open -> table_open renaming. > > Many thanks for looking at it. The v2 patch was based on top of the > heap_open -> table_open change. Oops. I guess I opened the wrong version. I'm now wondering whether the same issues discussed in https://www.postgresql.org/message-id/CA%2BTgmoZN-80143F8OhN8Cn5-uDae5miLYVwMapAuc%2B7%2BZ7pyNg%40mail.gmail.com also need discussion with respect to this patch. But I haven't thought about it very hard, so I'm not sure whether they do or don't. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Delay lock acquisition for partitions until we route a tuple to them.
- 9eefba181f77 12.0 landed