Re: PostgreSQL, C-Extension, calling other Functions

From: Paul Ramsey <pramsey(at)cleverelephant(dot)ca>
To: Stefan Wolf <sw(at)zpmt(dot)de>
Cc: pgsql-pkg-debian(at)lists(dot)postgresql(dot)org
Subject: Re: PostgreSQL, C-Extension, calling other Functions
Date: 2019-10-11 14:08:57
Message-ID: 78C0B59A-FDCE-4129-AD2F-98D967B34DC3@cleverelephant.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

DirectFunctionCall() is what you’re looking for.
Odd choice of list to ask?
P

> On Oct 11, 2019, at 1:13 AM, Stefan Wolf <sw(at)zpmt(dot)de> wrote:
>
> I´ve written some PostgreSQL C-Extensions (for the first time...) and they
> work as expected.
>
> But now I want to call other functions from inside the C-Extensions (but not
> via SPI_execute),
> for example "regexp_match()" or from other extensions like PostGIS
> "ST_POINT" etc...
>
> I think "fmgr" is the key - but I didn't find any examples.
>
> Greetings from Berlin
> -Stefan Wolf-
>
>
>
>
>

In response to

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message apt.postgresql.org Repository Update 2019-10-15 13:12:01 repmgr updated to version 5.0.0-1.pgdg+1
Previous Message apt.postgresql.org Repository Update 2019-10-11 11:38:35 postgresql-12 updated to version 12.0-2.pgdg+1