Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group