aboutsummaryrefslogtreecommitdiff
path: root/sonics/pgdb.udo
diff options
context:
space:
mode:
Diffstat (limited to 'sonics/pgdb.udo')
-rwxr-xr-xsonics/pgdb.udo16
1 files changed, 16 insertions, 0 deletions
diff --git a/sonics/pgdb.udo b/sonics/pgdb.udo
new file mode 100755
index 0000000..be2598a
--- /dev/null
+++ b/sonics/pgdb.udo
@@ -0,0 +1,16 @@
+#ifndef UDO_PGDB
+#define UDO_PGDB ##
+/*
+ PostgreSQL connection and tools
+ Slim excerpt for Partial Emergence
+
+ This file is part of the SONICS UDO collection by Richard Knight 2021, 2022
+ License: GPL-2.0-or-later
+ http://1bpm.net
+*/
+
+#include "sonics/__config__.udo"
+
+gidb dbconnect "postgresql", "$PGDB_HOST", "$PGDB_NAME", "$PGDB_USER", "$PGDB_PASSWORD"
+
+#end