How to add function schema in search_path in option definitio

From: Lorusso Domenico <domenico(dot)l76(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: How to add function schema in search_path in option definitio
Date: 2023-07-08 15:06:29
Message-ID: CAJMpnG7LqoS5=2derJ3UmL1UGw859RtjZ1buM1EMa+CL+8mjfQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello guys,
there is a comfortable way to add the schema of the function as in search
path?

something like
create my_schema.function() as $body$...$body$
set search_path to function_schema() || search_path

--
Domenico L.

per stupire mezz'ora basta un libro di storia,
io cercai di imparare la Treccani a memoria... [F.d.A.]

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2023-07-08 15:31:25 Re: How to add function schema in search_path in option definitio
Previous Message Ben Chobot 2023-07-08 13:46:37 Re: pgbouncer best practices