Re: portals vs. memory contexts

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <hackers(at)postgreSQL(dot)org>
Subject: Re: portals vs. memory contexts
Date: 1999-03-23 03:17:09
Message-ID: 36F707B5.89FBE998@krs.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
>
> I notice you used portals for vacuum, rather than a separate memory
> context. Can I ask why?

Not me really -:)
/*
* Create a portal for safe memory across transctions. We need to

Vacuum uses separate transaction for each of relations to be
vacuumed. VACPNAME is special portal name that is not cleaned
at commit/abort.

>
> I am considering creating an expression portal or memory context to
> prevent the memory leaks from the utils/adt functions.

Will you try to fix problems with WHERE a = lower(b) ?

Vadim

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message James Thompson 1999-03-23 03:29:03 CVS 3-22-99 \d broken?
Previous Message Bruce Momjian 1999-03-23 03:09:45 Re: [HACKERS] portals vs. memory contexts