Re: How to add function schema in search_path in option definitio - Mailing list pgsql-general

From Adrian Klaver
Subject Re: How to add function schema in search_path in option definitio
Date
Msg-id ae0b56f3-368b-b571-945d-78f7ec274bc3@aklaver.com
Whole thread Raw
In response to Re: How to add function schema in search_path in option definitio  (Lorusso Domenico <domenico.l76@gmail.com>)
List 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.klaver@aklaver.com




pgsql-general by date:

Previous
From: Lorusso Domenico
Date:
Subject: Re: How to add function schema in search_path in option definitio
Next
From: "David G. Johnston"
Date:
Subject: Re: How to add function schema in search_path in option definitio