Re: [HACKERS] Restrict concurrent update/delete with UPDATE of partition key
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: amul sul <sulamul@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>, Amit Kapila <amit.kapila16@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Pavan Deolasee <pavan.deolasee@gmail.com>, Stephen Frost <sfrost@snowman.net>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-04-07T15:15:01Z
Lists: pgsql-hackers
amul sul wrote: > On Sat, Apr 7, 2018 at 9:08 AM, Andres Freund <andres@anarazel.de> wrote: > >> +test: partition-key-update-1 > >> +test: partition-key-update-2 > >> +test: partition-key-update-3 > > > > Can you give these more descriptive names please (or further combine them)? > > As I explained above further combining might not the good option and about > the descriptive names I have following suggestions but I am afraid of > the length of > test case name: > > +test: concurrent-partition-key-update.out > > This test does the serialization failure check. > > +test: concurrent-partition-key-update-and-insert-conflict-do-nothing-1 > +test: concurrent-partition-key-update-and-insert-conflict-do-nothing-2 Yikes. I'd rather have the original name, and each test's purpose stated in a comment in the spec file itself. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Raise error when affecting tuple moved into different partition.
- f16241bef7cc 11.0 landed
-
Handle INSERT .. ON CONFLICT with partitioned tables
- 555ee77a9668 11.0 cited
-
Change the way we mark tuples as frozen.
- 37484ad2aace 9.4.0 cited