Custom function in the template database is duplicated into the new database?

Create a new function calculate(0 schema dB A, create DB B, function doublerooms or ostatsya available only within the 1st dB?
June 5th 19 at 21:03
1 answer
June 5th 19 at 21:05
Solution
Depends on how exactly you will create the basis B. namely, what exactly will be specified in the template parameter.
If the template will point to the database where you hranicu created something to be completely cloned this database, including hranilki.
If the template will indicate where this hranilki there is something in the created database it will not.

The default database template1.
thank you - jaycee commented on June 5th 19 at 21:08

Find more questions by tags PostgreSQL