Re: Why does load_external_function() return PGFunction?

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why does load_external_function() return PGFunction?
Date: 2018-03-26 20:05:54
Message-ID: 20180326200554.jwkpv23wt2h6ndcl@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2018-03-26 15:26:00 -0400, Tom Lane wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
> > On 2018-02-06 15:43:29 -0500, Tom Lane wrote:
> >> void* isn't necessarily compatible with function pointers --- there are
> >> platforms where they're physically different widths, though possibly
> >> you'd never get PG to run on such hardware anyway.
>
> > Btw, given that we store function pointers in datums, that ship has
> > sailed a long while ago, no?
>
> We do? Data pointers, sure, but I can't think of any use of the other.

It seems I've misremembered. For some reason I was quite certain that
the resowner callback facility, dynamic bgworkers, and fdws did so,
but...

Greetings,

Andres Freund

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2018-03-26 20:09:08 Re: Online enabling of checksums
Previous Message Damir Simunic 2018-03-26 20:05:21 Re: Proposal: http2 wire format