Re: CustomScan support on readfuncs.c - Mailing list pgsql-hackers

From Robert Haas
Subject Re: CustomScan support on readfuncs.c
Date
Msg-id CA+TgmoZE8ZYxpi5EGWhG4y1eQRk6vH4vjUvBmeih3kQtWmA88w@mail.gmail.com
Whole thread Raw
In response to Re: CustomScan support on readfuncs.c  (Kouhei Kaigai <kaigai@ak.jp.nec.com>)
List pgsql-hackers
On Mon, Nov 9, 2015 at 9:46 PM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:
> The attached main patch (custom-scan-on-readfuncs.v3.patch) once
> removes TextOutCustomScan, thus all the serialized tokens become
> known to the core backend, and add _readCustomScan() at readfuncs.c.
> It deserializes CustomScan nodes from cstring tokens, especially,
> reloads the pointer of CustomScanMethods tables using a pair of
> library name and symbol name.
> Thus, it also requires custom scan providers to keep the methods
> table visible from external objects.

Committed with some kibitzing.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: LLVM miscompiles numeric.c access to short numeric var headers
Next
From: Kouhei Kaigai
Date:
Subject: Re: [DESIGN] ParallelAppend