Re: Autovacuum breakage from a734fd5d1
От
Tom Lane
Тема
Re: Autovacuum breakage from a734fd5d1
Дата
Msg-id
3784.1480301213@sss.pgh.pa.us
Ответ на
Re: Autovacuum breakage from a734fd5d1 (Michael Paquier)
Список
Дерево обсуждения
Autovacuum breakage from a734fd5d1 Tom Lane <tgl@sss.pgh.pa.us>
Re: Autovacuum breakage from a734fd5d1 Tom Lane <tgl@sss.pgh.pa.us>
Re: Autovacuum breakage from a734fd5d1 Robert Haas <robertmhaas@gmail.com>
Re: Autovacuum breakage from a734fd5d1 Tom Lane <tgl@sss.pgh.pa.us>
Re: Autovacuum breakage from a734fd5d1 Robert Haas <robertmhaas@gmail.com>
Re: Autovacuum breakage from a734fd5d1 Tom Lane <tgl@sss.pgh.pa.us>
Re: Autovacuum breakage from a734fd5d1 Robert Haas <robertmhaas@gmail.com>
Re: Autovacuum breakage from a734fd5d1 Tom Lane <tgl@sss.pgh.pa.us>
Re: Autovacuum breakage from a734fd5d1 Robert Haas <robertmhaas@gmail.com>
Re: Autovacuum breakage from a734fd5d1 Michael Paquier <michael.paquier@gmail.com>
Re: Autovacuum breakage from a734fd5d1 Michael Paquier <michael.paquier@gmail.com>
Re: Autovacuum breakage from a734fd5d1 Michael Paquier <michael.paquier@gmail.com>
Re: Autovacuum breakage from a734fd5d1 Tom Lane <tgl@sss.pgh.pa.us>
Re: Autovacuum breakage from a734fd5d1 Michael Paquier <michael.paquier@gmail.com>
Michael Paquier writes: > In order to reproduce the failure I have just inserted a manual > pg_usleep before looping through the list of orphan_oids, and after > dropping manually from another session a couple of orphaned temporary > tables I was able to see the failure. Attached is a proposal of patch. That's not really adequate, because acquiring the lock doesn't prove that the table still exists; you might just be holding a useless lock against a now-unused OID. You really need to do something to verify that the table's catalog entries are still visible after you have the lock. regards, tom lane
В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата: