diff -c starjoin.orig/gendata.pl starjoin/gendata.pl
*** starjoin.orig/gendata.pl	2011-04-17 10:55:28.252595067 +1200
--- starjoin/gendata.pl	2011-04-17 10:55:48.684595066 +1200
***************
*** 14,20 ****
  my %prevcatids;
  print "generate cat\n";
  
! open(FH, "> /data0/dump/cat.dat") || die ("cannot open cat.dat: $!");
  for ($i = 0; $i < $catrows; $i++) {
  	$catid = $i;
  
--- 14,20 ----
  my %prevcatids;
  print "generate cat\n";
  
! open(FH, "> $dir/cat.dat") || die ("cannot open cat.dat: $!");
  for ($i = 0; $i < $catrows; $i++) {
  	$catid = $i;
  
diff -c starjoin.orig/README starjoin/README
*** starjoin.orig/README	2011-04-17 10:55:28.252595067 +1200
--- starjoin/README	2011-04-17 10:56:29.292595065 +1200
***************
*** 1,5 ****
--- 1,6 ----
  Setup for (hopefully) excessive join memory use.
  
+ $ vi gendata.pl load.sql    # set dump/load directory
  $ ./gendata.pl
  $ psql test < schema.sql
  $ psql test < load.sql
