Re: Fast COPY after TRUNCATE bug and fix

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Fast COPY after TRUNCATE bug and fix
Дата
Msg-id 200703011336.l21Dadr18278@momjian.us
обсуждение исходный текст
Ответ на Re: Fast COPY after TRUNCATE bug and fix  ("Simon Riggs" <simon@2ndquadrant.com>)
Ответы Re: Fast COPY after TRUNCATE bug and fix  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Simon Riggs wrote:
> On Wed, 2007-02-28 at 21:09 -0500, Bruce Momjian wrote:
> > Your patch has been added to the PostgreSQL unapplied patches list at:
>
> > Simon Riggs wrote:
> > > It's been pointed out to me that I introduced a bug as part of the
> > > recent optimisation of COPY-after-truncate.
> > >
> > > The attached patch fixes this for me on CVS HEAD. It does this by making
> > > an explicit request for relcache hint cleanup at EOXact and takes a more
> > > cautious approach during RelationCacheInvalidate().
>
> You understand that this fixes a bug in CVS HEAD?
>
> It isn't a new feature.

This is for CVS HEAD only, right?  Fixed still go into the queue, but
for a shorter amount of time, hopefully.

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: lo_truncate
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Deadlock with pg_dump?