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 <gsstark@mit.edu>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: DropRelFileNodeBuffers API change (was Re: [BUGS] BUG #5599: Vacuum fails due to index corruption issues)
Date: Sun, 15 Aug 2010 17:42:43 -0400
Message-ID: <5947.1281908563@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTinQbJWb9=seuPpBf_oBAQDq_OiZhYUC6Rn8KdAd@mail.gmail.com>
References: <201008042147.o74LlCge057659@wwwmaster.postgresql.org>
	<1280978913-sup-5475@alvh.no-ip.org>
	<8B7319E089E48047A0B688CE9CF54FD855C3C916@USRES8MAIL.asg.com>
	<1880.1281020817@sss.pgh.pa.us>
	<3092.1281898690@sss.pgh.pa.us>
	<4C6852A2.70503@enterprisedb.com>
	<AANLkTinQbJWb9=seuPpBf_oBAQDq_OiZhYUC6Rn8KdAd@mail.gmail.com>

Greg Stark <gsstark@mit.edu> writes:
> On Sun, Aug 15, 2010 at 9:48 PM, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com> wrote:
>> On 15/08/10 21:58, Tom Lane wrote:
>>> Does anyone have an opinion whether it's likely that any third-party
>>> code is calling DropRelFileNodeBuffers directly?
>> 
>> I doubt it. External modules shouldn't be modifying relations at such a low
>> level.

> Really? What about an index access method?

An index AM might have a reason to call smgrtruncate, but I can't see an
argument why it should need to call DropRelFileNodeBuffers directly.
The built-in AMs certainly never did.

			regards, tom lane



view thread (21+ messages)  latest in thread

Message-ID: <5947.1281908563@sss.pgh.pa.us>
Permalink:  ../5947.1281908563@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5947.1281908563@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, gsstark@mit.edu, heikki.linnakangas@enterprisedb.com, pgsql-hackers@postgresql.org
  Subject: Re: DropRelFileNodeBuffers API change (was Re: [BUGS] BUG #5599: Vacuum fails due to index corruption issues)
  In-Reply-To: <5947.1281908563@sss.pgh.pa.us>
  References: <201008042147.o74LlCge057659@wwwmaster.postgresql.org> <1280978913-sup-5475@alvh.no-ip.org> <8B7319E089E48047A0B688CE9CF54FD855C3C916@USRES8MAIL.asg.com> <1880.1281020817@sss.pgh.pa.us> <3092.1281898690@sss.pgh.pa.us> <4C6852A2.70503@enterprisedb.com> <AANLkTinQbJWb9=seuPpBf_oBAQDq_OiZhYUC6Rn8KdAd@mail.gmail.com> <5947.1281908563@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