Re: pageinspect: add tuple_data_record() - Mailing list pgsql-hackers

From James Coleman
Subject Re: pageinspect: add tuple_data_record()
Date
Msg-id CAAaqYe9ziEe=axAqwYS9ahV8io8fjx3yQThbfCMsnRRSCCAzWA@mail.gmail.com
Whole thread Raw
In response to Re: pageinspect: add tuple_data_record()  (Andres Freund <andres@anarazel.de>)
Responses Re: pageinspect: add tuple_data_record()  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers


Indeed. But I do think your approach - which means that the binary data is
actually interpreded as a datum of a specific type, drastically
increases the risk.


Agreed.

As I noted earlier, I don't at all think deTOASTing is a must for this function to be
valuable, just as tuple_data_split() is also valuable without deTOASTINGing.

I believe "best effort" is very reasonable in the case of a what is an investigatory
method to begin with. 

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pageinspect: add tuple_data_record()
Next
From: Andres Freund
Date:
Subject: Re: pageinspect: add tuple_data_record()