Why does load_external_function() return PGFunction? - Mailing list pgsql-hackers

From Andres Freund
Subject Why does load_external_function() return PGFunction?
Date
Msg-id 20180206200205.f5kvbyn6jawtzi6s@alap3.anarazel.de
Whole thread Raw
Responses Re: Why does load_external_function() return PGFunction?
List pgsql-hackers
Hi,

We've several callers to load_external_function() that do not use the
returned value as a PGFunction. I'd vote for changing the return type to
void * and have fmgr.c cast it to PGFunction after verifying the
function's magic.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: RelOptInfo -> Relation
Next
From: Robert Haas
Date:
Subject: Re: RelOptInfo -> Relation