pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tobias Brox <tobias@nordicbet.com>
To: John A Meinel <john@arbash-meinel.com>
Cc: Yves Vindevogel <yves.vindevogel@implements.be>
Cc: pgsql-performance@postgresql.org
Subject: Re: Limit clause not using index
Date: Tue, 21 Jun 2005 21:46:39 +0200
Message-ID: <20050621194639.GG22746@oppetid.no> (raw)
In-Reply-To: <42B82ED0.1010009@arbash-meinel.com>
References: <d0da86521cd54473cac40df63bb14546@implements.be>
	<42B8275C.8040300@arbash-meinel.com>
	<7e514564b9a159480857de53cc1764fd@implements.be>
	<42B82ED0.1010009@arbash-meinel.com>

[John A Meinel - Tue at 10:14:24AM -0500]
> I believe if you drop the indexes inside a transaction, they will still
> be there for other queries, and if you rollback instead of commit, you
> won't lose anything.

Has anyone tested this?

(sorry, I only have the production database to play with at the moment,
and I don't think I should play with it ;-)

-- 
Tobias Brox, Beijing




view thread (14+ messages)  latest in thread

Message-ID: <20050621194639.GG22746@oppetid.no>
Permalink:  ../20050621194639.GG22746@oppetid.no/
Also on:    postgresql.org/message-id/20050621194639.GG22746@oppetid.no

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tobias@nordicbet.com, john@arbash-meinel.com, yves.vindevogel@implements.be
  Subject: Re: Limit clause not using index
  In-Reply-To: <20050621194639.GG22746@oppetid.no>

* 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