Re: Fast COPY after TRUNCATE bug and fix - Mailing list pgsql-patches

From Simon Riggs
Subject Re: Fast COPY after TRUNCATE bug and fix
Date
Msg-id 1172759078.3760.1295.camel@silverbirch.site
Whole thread Raw
In response to Re: Fast COPY after TRUNCATE bug and fix  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Fast COPY after TRUNCATE bug and fix
List 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



pgsql-patches by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: WIP Patch - Updateable Cursors
Next
From: Andrew Dunstan
Date:
Subject: Re: Fast COPY after TRUNCATE bug and fix