pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Stark <stark@mit.edu>
Cc: Tomasz Ostrowski <tometzky+pg@ato.waw.pl>
Cc: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: Invalid indexes should not consume update overhead
Date: Sat, 16 Jul 2016 20:58:47 -0400
Message-ID: <1150.1468717127@sss.pgh.pa.us> (raw)
In-Reply-To: <CAM-w4HN00MFSMwi+CF-Z9TFG4Xj8gq35zvN0yD=XT-X9y0z0Wg@mail.gmail.com>
References: <8b57a306-7951-8442-df16-8c581d61b4e6@ato.waw.pl>
	<CAM-w4HN00MFSMwi+CF-Z9TFG4Xj8gq35zvN0yD=XT-X9y0z0Wg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Greg Stark <stark@mit.edu> writes:
> The real solution imho is to actually clean up failed index builds when a
> build fails. That's what normal transactions do when they abort after all.
> This was always the intention but looked like it was going to be a pain and
> was put off (ie I was lazy). It's probably just several layers of
> PG_TRY/PG_CATCH and closing the failed transactions and opening new ones.

No, that wouldn't fix it if the reason the build failed was a crash.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (14+ messages)  latest in thread

Message-ID: <1150.1468717127@sss.pgh.pa.us>
Permalink:  ../1150.1468717127@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1150.1468717127@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, stark@mit.edu, tometzky+pg@ato.waw.pl
  Subject: Re: Invalid indexes should not consume update overhead
  In-Reply-To: <1150.1468717127@sss.pgh.pa.us>
  References: <8b57a306-7951-8442-df16-8c581d61b4e6@ato.waw.pl> <CAM-w4HN00MFSMwi+CF-Z9TFG4Xj8gq35zvN0yD=XT-X9y0z0Wg@mail.gmail.com> <1150.1468717127@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox