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: (view raw, whole thread or download thread mbox)
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) ?


In response to


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-2017 The PostgreSQL Global Development Group