Re: BUG: deadlock between autovacuum worker and client backend during removal of orphan temp tables with sequences
Michael Zhilin <m.zhilin@postgrespro.ru>
From: Michael Zhilin <m.zhilin@postgrespro.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>, Akshat Jaimini <destrex271@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2024-04-03T05:08:26Z
Lists: pgsql-bugs, pgsql-hackers
Thanks to all for review, testing and commit!!! On 2 April 2024 22:04:54 GMT+03:00, Tom Lane <tgl@sss.pgh.pa.us> wrote: >Akshat Jaimini <destrex271@gmail.com> writes: >> The code seems to implement the feature and has good and explanatory comments associated with it. >> I believe we can go ahead with committing patch although I would request some senior contributors to also take a look at this patch since I am relatively new to patch reviews. > >Looks like a good catch and a reasonable fix. Pushed after rewriting >the comments a bit. > >As far as this goes: > >> I ran make installcheck-world after applying the patch and recompiling it. It did fail for a particular test but from the logs it seems to be unrelated to this particular patch since it fails for the following: > >> ========================== >> select error_trap_test(); >> - error_trap_test >> ---------------------------- >> - division_by_zero detected >> -(1 row) >> - >> +ERROR: cannot start subtransactions during a parallel operation > >... that's the test case from 0075d7894, and the failure is what >I'd expect from a backend older than that. Maybe you forgot to >recompile/reinstall after updating past that commit? > > regards, tom lane
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Avoid deadlock during orphan temp table removal.
- 6faca9ae2878 17.0 landed
- f5d9212e5391 12.19 landed
- cbfbb14bd7de 16.3 landed
- ca392df8dd18 14.12 landed
- 4fb56a734d4c 15.7 landed
- 4afc2c219d70 13.15 landed