Re: Fast COPY after TRUNCATE bug and fix

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>, <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Fast COPY after TRUNCATE bug and fix
Date: 2007-03-01 14:24:37
Message-ID: 1172759078.3760.1295.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Thu, 2007-03-01 at 09:12 -0500, Andrew Dunstan wrote:
> what is the point of this?:
>
> + void
> + RelationCacheResetAtEOXact(void)
> + {
> + need_eoxact_work = true;
> + }
>
>
>
> and why is it declared extern in relcache.h when it is only used in
> relcache.c?

It is called from index.c and relcache.c, hence it is extern.

--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2007-03-01 14:38:15 Re: Fast COPY after TRUNCATE bug and fix
Previous Message Simon Riggs 2007-03-01 14:20:13 Re: [PATCHES] WIP Patch - Updateable Cursors