Re: [HACKERS] Cache query (PREPARE/EXECUTE)

From: Don Baccus <dhogaza(at)pacifier(dot)com>
To: Karel Zak - Zakkr <zakkr(at)zf(dot)jcu(dot)cz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Cache query (PREPARE/EXECUTE)
Date: 2000-02-22 18:56:07
Message-ID: 3.0.1.32.20000222105607.0106c2f0@mail.pacifier.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 06:30 PM 2/22/00 +0100, Karel Zak - Zakkr wrote:

> Yes, I agree (TopMemoryContext was simpl for first hacking).
>But I not sure how create new (across transaction persistent?)
>MemoryContext. It needs new portal? (Sorry I not thoroughly explore
>PG's memory management.)

Jan is caching the plans needed for referential integrity checking
and referential actions - look at ri_triggers.c in src/backend/utils/adt.
ri_InitHashTables initializes the RI cache.

(I *assume* Jan, with his great experience, is doing it right, I'm
in no position to judge!)

- Don Baccus, Portland OR <dhogaza(at)pacifier(dot)com>
Nature photos, on-line guides, Pacific Northwest
Rare Bird Alert Service and other goodies at
http://donb.photo.net.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Duncan Kinder 2000-02-22 19:36:27 Re: [ANNOUNCE] PostgreSQL v7.0 goes Beta ...
Previous Message Don Baccus 2000-02-22 18:49:54 Re: [HACKERS] PostgreSQL v7.0 goes Beta ...