From 18f3d6b2635fba32cc7b522550f2485613f7e863 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Wed, 5 Apr 2023 15:01:12 +0300 Subject: Wrap the password in quotes The password can contain special characters. As such, wrap it in quotes. * load-rdf.scm (delete-graph): Replace "~a" with "~s". Signed-off-by: Munyoki Kilyungi --- load-rdf.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/load-rdf.scm b/load-rdf.scm index 4cd7841..fcb4f4d 100755 --- a/load-rdf.scm +++ b/load-rdf.scm @@ -153,7 +153,7 @@ authenticating as the dba user with PASSWORD." (lambda (out) (format out "SET DSN=localhost:~a; -SET PWD=~a; +SET PWD=~s; DELETE FROM rdf_quad WHERE g = iri_to_id ('~a');" port password -- cgit v1.2.3