Re: portals vs. memory contexts - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: portals vs. memory contexts
Date
Msg-id 36F707B5.89FBE998@krs.ru
Whole thread Raw
In response to portals vs. memory contexts  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: portals vs. memory contexts
List 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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: portals vs. memory contexts
Next
From: James Thompson
Date:
Subject: CVS 3-22-99 \d broken?