Re: schema agnostic functions in language sql - Mailing list pgsql-general

From Rob Sargent
Subject Re: schema agnostic functions in language sql
Date
Msg-id 81A0F056-6703-4FD4-96BE-D13485CA1995@gmail.com
Whole thread Raw
In response to Re: schema agnostic functions in language sql  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general

> On
>>>             regards, tom lane
>> Did my message with a sql and plgpsql versions not come through?
>> I cannot create a plain sql function unless the search_path covers any table mentioned. Not the case when using
plpgsql- no path needed. 
>
> But does the plpgsql segment_calls() run?
>
> On other words does:
>
> select * from segment_calls(segid uuid);
>
> work?
>
>> I'm ok(ish) with that, unless I've missed some detail.
>> rjs
>

Yes the plpgsql form works but of course requires a sufficient search_path
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: RAJAMOHAN
Date:
Subject: Pgpool is crashing when terminating user session
Next
From: Tatsuo Ishii
Date:
Subject: Re: Pgpool is crashing when terminating user session