Re: adding new pages bulky way

From: Alvaro Herrera <alvherre(at)surnet(dot)cl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Postgres Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: adding new pages bulky way
Date: 2005-06-07 21:35:14
Message-ID: 20050607213513.GC2814@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 07, 2005 at 07:52:57PM +0300, Victor Y. Yegorov wrote:
> * Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> [07.06.2005 07:59]:
> > Why bother? Just write each page when you need to --- there's no law
> > that says you must use P_NEW.
>
> This means 2 things:
> 1) I cannot mix P_NEW and exact-number ReadBuffer() calls;

Huh, why? You need to grab the relation extension block
(LockRelationForExtension in CVS tip).

--
Alvaro Herrera (<alvherre[a]surnet.cl>)
"[PostgreSQL] is a great group; in my opinion it is THE best open source
development communities in existence anywhere." (Lamar Owen)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-06-07 21:48:31 Proposed toast info extraction function for disaster recovery
Previous Message Douglas McNaught 2005-06-07 21:10:44 Re: The Contrib Roundup (long)