Project

General

Profile

« Previous | Next » 

Revision 7345

make_analytical_db: Don't run export_analytical_db if the SQL script exits with an error

View differences:

make_analytical_db
27 27
EOF
28 28
}
29 29

  
30
(set -x; "$selfDir/psql_verbose_vegbien") <<EOF
30
((set -x; "$selfDir/psql_verbose_vegbien") <<EOF
31 31
GRANT USAGE ON SCHEMA analytical_db TO bien_read;
32 32
GRANT USAGE ON SCHEMA analytical_db TO public_;
33 33

  
......
44 44
GRANT SELECT ON TABLE analytical_db.provider_count TO public_;
45 45
$(mk_analytical_table analytical_aggregate)
46 46
EOF
47
) || exit
47 48

  
48 49
"$selfDir/export_analytical_db"

Also available in: Unified diff