Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use /tmp instead of $HOME for testing

$HOME might not be accessible for the database server.
  • Loading branch information...
commit 190c028e7c4cf67b1aebaa057ca1424dadd42d6f 1 parent 201dfdf
@petere authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 test.sql
View
6 test.sql
@@ -23,7 +23,7 @@ CREATE FUNCTION shtrigger() RETURNS trigger AS '
for arg do
echo "Arg is $arg"
done
-) >> $HOME/voodoo-pgplsh-test
+) >> /tmp/voodoo-pgplsh-test
exit 0
' LANGUAGE plsh;
@@ -36,5 +36,5 @@ INSERT INTO pfoo VALUES (1, 'one');
INSERT INTO pfoo VALUES (2, 'two');
INSERT INTO pfoo VALUES (3, 'three');
-\!cat $HOME/voodoo-pgplsh-test
-\!rm $HOME/voodoo-pgplsh-test
+\! cat /tmp/voodoo-pgplsh-test
+\! rm /tmp/voodoo-pgplsh-test
Please sign in to comment.
Something went wrong with that request. Please try again.