Re: Simple CustomScan example

From: "Drouvot, Bertrand" <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: Chris Cleveland <ccleveland(at)dieselpoint(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Simple CustomScan example
Date: 2023-09-07 16:29:27
Message-ID: 736d80b2-5080-4ab5-815e-26a920c04aaa@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2023-09-07 16:58:29 Re: [PATCH] pgrowlocks: Make mode names consistent with docs
Previous Message Nazir Bilal Yavuz 2023-09-07 16:06:57 Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs