Re: [HACKERS] [PATCH] Generic type subscription - Mailing list pgsql-hackers

From Dmitry Dolgov
Subject Re: [HACKERS] [PATCH] Generic type subscription
Date
Msg-id CA+q6zcWA8asrs66Y_zpW2NRN_HP5xnpbJ4kLEziKOE3NOFVLow@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] [PATCH] Generic type subscription  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 24 January 2017 at 02:36, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> It might be possible to get away with having only one pg_type column,
> pointing at the parse-analysis function.  That function would generate
> a SubscriptingRef tree node containing the OID of the appropriate
> execution function, which execQual.c could call without ever knowing
> its name explicitly.

Btw, is it acceptable if such generated SubscriptingRef will contain just a
function pointer to the appropriate execution function instead of an OID (e.g.
like `ExprStateEvalFunc`)? It will help to avoid problems in case of extensions.

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: [HACKERS] Index corruption with CREATE INDEX CONCURRENTLY
Next
From: Amit Kapila
Date:
Subject: Re: [HACKERS] Draft release notes for next week's releases are up for review