Patch created by tobi42 (Tobias Schöneberg)

Adding missing argument for load in Postgres (as discussed between Tobi and Trifon in IRC on 05.02.2008)
This commit is contained in:
mark_o 2008-02-05 13:48:39 +00:00
parent cecd4c0941
commit 887c26e8b6
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@
<target name="load"> <target name="load">
<echo message="Loading file ${file.name}" /> <echo message="Loading file ${file.name}" />
<exec dir="${postgresql.home}/bin" executable="${postgresql.home}/bin/psql" resultproperty="psql.result" output="psql.log" append="true"> <exec dir="${postgresql.home}/bin" executable="${postgresql.home}/bin/psql" resultproperty="psql.result" output="psql.log" append="true">
<arg line="-h ${postgresql.host}" />
<arg line="-d ${postgresql.database} -q" /> <arg line="-d ${postgresql.database} -q" />
<arg line="-U ${postgresql.user}" /> <arg line="-U ${postgresql.user}" />
<arg line="-f ${file.name}" /> <arg line="-f ${file.name}" />