small improvement in buffread common

Started by Zdenek Kotalaover 17 years ago2 messageshackers
Jump to latest
#1Zdenek Kotala
Zdenek.Kotala@Sun.COM

I attach patch which removes useless page header check when page is zeroed. It
is primary used by hash index.

Zdenek

--
Zdenek Kotala Sun Microsystems
Prague, Czech Republic http://sun.com/postgresql

Attachments:

bufread.patchtext/x-diff; name=bufread.patchDownload+31-41
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Zdenek Kotala (#1)
Re: small improvement in buffread common

Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:

I attach patch which removes useless page header check when page is zeroed. It
is primary used by hash index.

Looks reasonable; applied.

regards, tom lane