Read data from Postgres table pages - Mailing list pgsql-hackers

From Sushrut Shivaswamy
Subject Read data from Postgres table pages
Date
Msg-id CAH5mb9928FPm-7VwuQStc7EbAha2tr848Me4XeHkfJJoUekFrw@mail.gmail.com
Whole thread Raw
Responses Re: Read data from Postgres table pages
List pgsql-hackers
Hey,

I'm trying to build a postgres export tool that reads data from table pages and exports it to an S3 bucket. I'd like to avoid manual commands like pg_dump, I need access to the raw data.

Can you please point me to the postgres source header / cc files that encapsulate this functionality?
 - List all pages for a table
- Read a given page for a table

Any pointers to the relevant source code would be appreciated.

Thanks,
Sushrut

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: documentation structure
Next
From: Japin Li
Date:
Subject: Re: Table AM Interface Enhancements