Hi,
On 9/6/23 9:32 PM, Chris Cleveland wrote:
I'm trying to write a custom scan. It's pretty confusing. I've read the
documentation at
https://www.postgresql.org/docs/current/custom-scan.html
<https://www.postgresql.org/docs/current/custom-scan.html>, and I've scanned the
code in Citus Columnar and in Timescale, both of which are quite complex.
Is anyone aware of code with a simple example of a custom scan?
You may find the one in this repo: https://github.com/bdrouvot/pg_directpaths
simple enough.
Regards,
--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com