Re: How to add function schema in search_path in option definitio

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Lorusso Domenico <domenico(dot)l76(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: How to add function schema in search_path in option definitio
Date: 2023-07-11 20:17:16
Message-ID: ae0b56f3-368b-b571-945d-78f7ec274bc3@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/11/23 12:47, Lorusso Domenico wrote:
> Adrian I have read your suggestions, but:
> 1) I need to change path inside a group of function (like a package) not
> for any connection
> 2) Yes inside function is clear I can do that
> 3) some like 1 and, moreover, I can't be sure to create my own role,
> because the target db will be cloud sql

First mention that you are using a fork of the community Postgres.

In any case Cloud SQL does allow creating roles:

https://cloud.google.com/sql/docs/postgres/users

My guess though is you will need to do 2).

>
> My question doesn't aim just to fix a specific issue, but to learn the
> best way (if exist) to solve the class of issues (raised by the case) in
> postgresql.
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2023-07-11 20:50:49 Re: How to add function schema in search_path in option definitio
Previous Message Lorusso Domenico 2023-07-11 19:47:04 Re: How to add function schema in search_path in option definitio