Re: adding new pages bulky way - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: adding new pages bulky way
Date
Msg-id 20050607213513.GC2814@surnet.cl
Whole thread Raw
In response to Re: adding new pages bulky way  ("Victor Y. Yegorov" <viy@mits.lv>)
Responses Re: adding new pages bulky way
List pgsql-hackers
On Tue, Jun 07, 2005 at 07:52:57PM +0300, Victor Y. Yegorov wrote:
> * Tom Lane <tgl@sss.pgh.pa.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)


pgsql-hackers by date:

Previous
From: Douglas McNaught
Date:
Subject: Re: The Contrib Roundup (long)
Next
From: Tom Lane
Date:
Subject: Proposed toast info extraction function for disaster recovery