Re: Concurrency bug in UPDATE of partition-key
От
Amit Khandekar
Тема
Re: Concurrency bug in UPDATE of partition-key
Дата
Msg-id
CAJ3gD9ejqH2SXAqjf4yhyx8r-AMpzq81NZJEZFSEvwrH+nm1JA@mail.gmail.com
Ответ на
Re: Concurrency bug in UPDATE of partition-key (Dilip Kumar)
Список
Дерево обсуждения
Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Dilip Kumar <dilipbalaut@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Dilip Kumar <dilipbalaut@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Concurrency bug in UPDATE of partition-key Andres Freund <andres@anarazel.de>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Kapila <amit.kapila16@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Dilip Kumar <dilipbalaut@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Dilip Kumar <dilipbalaut@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Amit Khandekar <amitdkhan.pg@gmail.com>
Re: Concurrency bug in UPDATE of partition-key Dilip Kumar <dilipbalaut@gmail.com>
On 19 June 2018 at 13:06, Dilip Kumar wrote: > On Mon, Jun 18, 2018 at 6:19 PM, Amit Khandekar wrote: >> On 18 June 2018 at 17:56, Amit Kapila wrote: >>> On Mon, Jun 18, 2018 at 11:28 AM, Dilip Kumar wrote: >>>> Should we also create a test case where we can verify that some >>>> unnecessary or duplicate triggers are not executed? >>>> >>> >>> I am not sure how much value we will add by having such a test. In >>> general, it is good to have tests that cover various aspects of >>> functionality, but OTOH, we have to be careful to not overdo it. >> >> Actually I am thinking, it's not a big deal adding a RAISE statement >> in trigger function in the existing testcases. It will clearly show how >> many times the trigger has executed. So I will go ahead and do that. > > Ok, That makes sense to me. Could not add RAISE statement, because the isolation test does not seem to print those statements in the output. Instead, I have dumped some rows in a new table through the trigger function, and did a select from that table. Attached is v3 patch. -- Thanks, -Amit Khandekar EnterpriseDB Corporation The Postgres Database Company
В списке pgsql-hackers по дате отправления