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 61E71DBD-E0C5-4594-8114-4172C29B8046@gmail.com
Whole thread Raw
In response to Re: schema agnostic functions in language sql  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general


On May 16, 2020, at 9:13 AM, David G. Johnston <david.g.johnston@gmail.com> wrote:


On Sat, May 16, 2020 at 5:15 AM Rob Sargent <robjsargent@gmail.com> wrote:
check_function_body=off may be what I want during the site install as the definitions should be correct in all aspects.

You should probably just have one "test" schema and compile your functions with the non-client test schema in the search_path.

David J.
In fact there is just such a thing in the database from which get the DDL to generate new ‘client’ dbs. (This is not commercial in any way).  So far I have not needed to bring that template into client space. Do you see a problem with using check_ function_body=off, given that the functions will be developed and tested elsewhere?

pgsql-general by date:

Previous
From: Alex Magnum
Date:
Subject: Removing Last field from CSV string
Next
From: PALAYRET Jacques
Date:
Subject: Re: Removing Last field from CSV string