Re: pageinspect: add tuple_data_record()
От
Nikolay Shaplov
Тема
Re: pageinspect: add tuple_data_record()
Дата
Msg-id
3229636.uj9kZnTPMP@x200m
Ответ на
Re: pageinspect: add tuple_data_record() (James Coleman)
Список
Дерево обсуждения
pageinspect: add tuple_data_record() James Coleman <jtc331@gmail.com>
Re: pageinspect: add tuple_data_record() Andres Freund <andres@anarazel.de>
Re: pageinspect: add tuple_data_record() James Coleman <jtc331@gmail.com>
Re: pageinspect: add tuple_data_record() Andres Freund <andres@anarazel.de>
Re: pageinspect: add tuple_data_record() Nikolay Shaplov <dhyan@nataraj.su>
Re: pageinspect: add tuple_data_record() James Coleman <jtc331@gmail.com>
Re: pageinspect: add tuple_data_record() Andres Freund <andres@anarazel.de>
Re: pageinspect: add tuple_data_record() James Coleman <jtc331@gmail.com>
Re: pageinspect: add tuple_data_record() Andres Freund <andres@anarazel.de>
Re: pageinspect: add tuple_data_record() James Coleman <jtc331@gmail.com>
Re: pageinspect: add tuple_data_record() Andres Freund <andres@anarazel.de>
Re: pageinspect: add tuple_data_record() James Coleman <jtc331@gmail.com>
Re: pageinspect: add tuple_data_record() Andres Freund <andres@anarazel.de>
Re: pageinspect: add tuple_data_record() James Coleman <jtc331@gmail.com>
Re: pageinspect: add tuple_data_record() Nikolay Shaplov <dhyan@nataraj.su>
Re: pageinspect: add tuple_data_record() Peter Geoghegan <pg@bowt.ie>
В письме от 17 октября 2018 12:36:54 пользователь James Coleman написал: > > I did compleatly got the question... The question is it safe to split > > tuple > > record into array of raw bytea? It is quite safe from my point of view. > > We > > use only data that is inside the tuple, and info from pg_catalog that > > describes the tuple structure. So we are not affected if for example toast > > table were cleaned by vacuum. If you try to deTOAST data when TOAST table > > were > > already overwritten by new data, you can get some trouble... > The existing tuple_data_split() method already explicitly allows deTOASTing > data, > so if this is a problem, the problem already exists in pageinspect. Oh. that's true... I do not remember writing it, but it seems I did it. After Andreas notion, I am sure this should be fixed by removing de_toast option for tuple_data_split... O_o -- Do code for fun.
В списке pgsql-hackers по дате отправления