Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use /tmp instead of $HOME for testing

$HOME might not be accessible for the database server.
  • Loading branch information...
commit 190c028e7c4cf67b1aebaa057ca1424dadd42d6f 1 parent 201dfdf
Peter Eisentraut authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 test.sql
6 test.sql
@@ -23,7 +23,7 @@ CREATE FUNCTION shtrigger() RETURNS trigger AS '
23 23 for arg do
24 24 echo "Arg is $arg"
25 25 done
26   -) >> $HOME/voodoo-pgplsh-test
  26 +) >> /tmp/voodoo-pgplsh-test
27 27 exit 0
28 28 ' LANGUAGE plsh;
29 29
@@ -36,5 +36,5 @@ INSERT INTO pfoo VALUES (1, 'one');
36 36 INSERT INTO pfoo VALUES (2, 'two');
37 37 INSERT INTO pfoo VALUES (3, 'three');
38 38
39   -\!cat $HOME/voodoo-pgplsh-test
40   -\!rm $HOME/voodoo-pgplsh-test
  39 +\! cat /tmp/voodoo-pgplsh-test
  40 +\! rm /tmp/voodoo-pgplsh-test

0 comments on commit 190c028

Please sign in to comment.
Something went wrong with that request. Please try again.