Utilisation of get_page_from_raw() in pageinspect - Mailing list pgsql-hackers

From Ashutosh Sharma
Subject Utilisation of get_page_from_raw() in pageinspect
Date
Msg-id CAE9k0Pn-af1AyKTLb3XTb-JCV24Ucs7FEGYmhj=yfHrxeFvyog@mail.gmail.com
Whole thread Raw
Responses Re: Utilisation of get_page_from_raw() in pageinspect
List pgsql-hackers
Hi All,

Currently, get_page_from_raw() is not used in the pageinspect
functions for btree and heap to fetch a page image from raw page.
However, the pageinspect for gin and hash is using it to avoid server
crash on alignment picky machines with MAXALIGN = 8. Shouldn't we
start using it in the pageinspect functions for btree and heap as well
for safety purpose. Thoughts?

-- 
With Regards,
Ashutosh Sharma
EnterpriseDB:http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Yugo Nagata
Date:
Subject: Re: Small fixes about backup history file in doc and pg_standby
Next
From: Pavel Stehule
Date:
Subject: Re: postgresql_fdw doesn't handle defaults correctly