Re: [PATCH] Microvacuum for gist.

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Anastasia Lubennikova <a(dot)lubennikova(at)postgrespro(dot)ru>, pgsql-hackers(at)postgresql(dot)org, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Subject: Re: [PATCH] Microvacuum for gist.
Date: 2015-09-16 15:36:21
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> But It seems to me that it would be better to rewrite all mentions of
> TupleDelete to MultiDelete in gist code.

Sure. Patch is attached, and it changes WAL format, so be carefull with testing.
Please, have a look.

Also in attach scripts reproduce bug from Jeff's report: - creates and fills test table - worker, could run in several session

perl | psql contrib_regression
perl | psql contrib_regression | grep 'UPDATE 0'

and killall -9 postgres while is running. Recovery will fail with high

Thank you, Jeff, for report.
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru

Attachment Content-Type Size
gist_delete.patch text/plain 2.1 KB application/x-perl 270 bytes application/x-perl 183 bytes

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Nicolas Barbier 2015-09-16 15:53:39 Re: [PROPOSAL] Covering + unique indexes.
Previous Message Alvaro Herrera 2015-09-16 15:32:38 Re: pltcl: sentence improvement