Re: [HACKERS] sbufdesc' padding... - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] sbufdesc' padding...
Date
Msg-id 3663860B.5F716B45@alumni.caltech.edu
Whole thread Raw
In response to sbufdesc' padding...  (Vadim Mikheev <vadim@krs.ru>)
List pgsql-hackers
Vadim Mikheev wrote:
> 
> Why slower allocation? BufferDescriptorGetBuffer used sizeof sbufdesc
> to get buffer number in 1993. Jolly/Andrew put buffer number
> (buf_id) into sbufdesc itself and so made sbufdesc padding
> useless.

Ah. I had only read the comment without understanding the current
implementation...
                     - Tom


pgsql-hackers by date:

Previous
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] Re: [SQL] cursor and update + view
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] COMMIT