public inbox for [email protected]  
help / color / mirror / Atom feed
From: Paul Ramsey <[email protected]>
To: Stefan Wolf <[email protected]>
Cc: [email protected]
Subject: Re: PostgreSQL, C-Extension, calling other Functions
Date: Fri, 11 Oct 2019 07:08:57 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

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

> On Oct 11, 2019, at 1:13 AM, Stefan Wolf <[email protected]> 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-
> 
> 
> 
> 
> 







view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: PostgreSQL, C-Extension, calling other Functions
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox