[PATCH] Allow specification of custom slot for custom nodes

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] Allow specification of custom slot for custom nodes
Date: 2022-06-30 19:41:10
Message-ID: CAPpHfduJUU6ToecvTyRE_yjxTS80FyPpct4OHaLFk3OEheMTNA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hackers,

we have supported custom nodes for while. Custom slots are a bit more
"recent" feature. Since we now support custom slots, which could
handle custom tuple format, why not allow custom nodes to use them?

For instance, a custom table access method can have its own tuple
format and use a custom node to provide some custom type of scan. The
ability to set a custom slot would save us from tuple format
conversion (thank happened to me while working on OrioleDB). I think
other users of custom nodes may also benefit.

------
Regards,
Alexander Korotkov

Attachment Content-Type Size
0001-Allow-specification-of-custom-slot-for-custom-nod-v1.patch application/octet-stream 2.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Reid Thompson 2022-06-30 19:54:50 Patch to address creation of PgStat* contexts with null parent context
Previous Message Alexander Korotkov 2022-06-30 19:34:38 Re: Add red-black tree missing comparison searches