From 04ab6e6e10eace3ee103cef61f2ee94f3d2129fb Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Tue, 7 Sep 2021 18:19:11 +0100 Subject: Correctly attribute SO author for SQL function --- postgres/init.sql | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'postgres') 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 -- cgit v1.2.3