Re: Pgxs - How to reference another extension

2024-03-11 Thread Michał Kłeczek
> On 11 Mar 2024, at 15:00, Pavel Stehule wrote: > > > The advantage of OidFunctionCall is fact, it is working on MacOS. My > extension plpgsql_check has a lot of dependencies on plpgsql. > > The linking on MacOS required special section in Makefile > > ifeq ($(PORTNAME), darwin) >

Re: Pgxs - How to reference another extension

2024-03-11 Thread Pavel Stehule
Hi po 11. 3. 2024 v 14:48 odesílatel Michał Kłeczek napsal: > > > On 11 Mar 2024, at 14:08, Artur Zakirov wrote: > > On Mon, 11 Mar 2024 at 13:26, Michał Kłeczek wrote: > > > > On 11 Mar 2024, at 11:41, Michał Kłeczek wrote: > > Hi, > > I am trying to create an extension that delegates some

Re: Pgxs - How to reference another extension

2024-03-11 Thread Joe Conway
On 3/11/24 09:48, Michał Kłeczek wrote: On 11 Mar 2024, at 14:08, Artur Zakirov wrote: On Mon, 11 Mar 2024 at 13:26, Michał Kłeczek > wrote: On 11 Mar 2024, at 11:41, Michał Kłeczek wrote: Hi, I am trying to create an extension that delegates some calls to

Re: Pgxs - How to reference another extension

2024-03-11 Thread Michał Kłeczek
> On 11 Mar 2024, at 14:08, Artur Zakirov wrote: > > On Mon, 11 Mar 2024 at 13:26, Michał Kłeczek > wrote: >> >> >>> On 11 Mar 2024, at 11:41, Michał Kłeczek wrote: >>> >>> Hi, >>> >>> I am trying to create an extension that delegates some calls to btree_gist

Re: Pgxs - How to reference another extension

2024-03-11 Thread Artur Zakirov
On Mon, 11 Mar 2024 at 13:26, Michał Kłeczek wrote: > > > > On 11 Mar 2024, at 11:41, Michał Kłeczek wrote: > > > > Hi, > > > > I am trying to create an extension that delegates some calls to btree_gist > > functions: > > > > DirectFunctionCall5Coll( > >gbt_text_consistent,

Re: Pgxs - How to reference another extension

2024-03-11 Thread Michał Kłeczek
> On 11 Mar 2024, at 11:41, Michał Kłeczek wrote: > > Hi, > > I am trying to create an extension that delegates some calls to btree_gist > functions: > > DirectFunctionCall5Coll( >gbt_text_consistent, …other arguments); > > Basic PGXS Makefile does not work - I get linker

Pgxs - How to reference another extension

2024-03-11 Thread Michał Kłeczek
Hi, I am trying to create an extension that delegates some calls to btree_gist functions: DirectFunctionCall5Coll( gbt_text_consistent, …other arguments); Basic PGXS Makefile does not work - I get linker error: Undefined symbols for architecture arm64: