| From: | Andres Freund <andres(at)anarazel(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix autovacuum cancellation. |
| Date: | 2020-09-08 18:34:29 |
| Message-ID: | E1kFiRp-00045c-Q8@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix autovacuum cancellation.
The problem is caused by me (Andres) having ProcSleep() look at the
wrong PGPROC entry in 5788e258bb2.
Unfortunately it seems hard to write a reliable test for autovacuum
cancellations. Perhaps somebody will come up with a good approach, but
it seems worth fixing the issue even without a test.
Reported-By: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Author: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAMkU=1wH2aUy+wDRDz+5RZALdcUnEofV1t9PzXS_gBJO9vZZ0Q@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5871f09c98588acd486a31d7bb7bd084a6553a39
Modified Files
--------------
src/backend/storage/lmgr/proc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2020-09-08 19:54:34 | pgsql: Install an error check into cancel_before_shmem_exit(). |
| Previous Message | Tom Lane | 2020-09-08 15:47:45 | pgsql: Use plain memset() in numeric.c, not MemSet and friends. |