Hi, I'm trying to construct a new tuple type, that's not heaptuple, When I get a tupleTableSlot, I will get data info from it and then I will constuct a new tuple, and now I need to put it into a physical page, how should I do? -------------- jacktby@gmail.com
On Thu, Feb 2, 2023 at 7:31 PM jacktby@gmail.com <jacktby@gmail.com> wrote: > > Hi, I'm trying to construct a new tuple type, that's not heaptuple, > When I get a tupleTableSlot, I will get data info from it and then I > will constuct a new tuple, and now I need to put it into a physical > page, how should I do? Postgres writes table pages from shared buffers/buffer pool to disk via storage manager (smgr.c). I think looking at the code around FlushBuffer()/FlushRelationBuffers()/smgrwrite() might help. -- Bharath Rupireddy PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера