diff options
author | 2021-09-07 18:19:11 +0100 | |
---|---|---|
committer | 2021-09-07 18:22:31 +0100 | |
commit | 04ab6e6e10eace3ee103cef61f2ee94f3d2129fb (patch) | |
tree | c0803bec240f38b49a66d79ef5338e06f0e65602 /postgres | |
parent | Raise a ValueError with a useful message for invalid db urls (diff) |
Correctly attribute SO author for SQL function
Diffstat (limited to 'postgres')
-rw-r--r-- | postgres/init.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/postgres/init.sql b/postgres/init.sql index ee1acd8d..55bb468f 100644 --- a/postgres/init.sql +++ b/postgres/init.sql @@ -1,3 +1,7 @@ +-- The following function is from Stack Overflow +-- https://stackoverflow.com/questions/18389124/simulate-create-database-if-not-exists-for-postgresql/36218838#36218838 +-- User frankhommers (https://stackoverflow.com/users/971229/frankhommers) + DO $do$ DECLARE |