Skip to content

Commit 339a5d3

Browse files
authored
FDN-3571: do not run_maintenance in install.sh (#33)
The step is time consuming, memory consuming, more so as time goes by. Eventually it will hit limits (e.g., number of locks acquired) and fail. It happened in some repository already, and this step has been removed there as a consequence. It is also an unnecessary step, so we remove it.
1 parent d212e22 commit 339a5d3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

install.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ then
1919
psql -q -U postgres -d postgres -c "GRANT ALL ON DATABASE $DBNAME TO api"
2020
psql -q -U postgres -d $DBNAME -f $DBNAME.schema.sql
2121
psql -q -U postgres -d $DBNAME -f $DBNAME.data.sql
22-
psql -q -U api -d $DBNAME -c 'SELECT partman5.run_maintenance()'
2322
fi
2423

2524
sem-apply --url postgresql://api@localhost/$DBNAME

0 commit comments

Comments
 (0)