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:
parent
cecd4c0941
commit
887c26e8b6
|
@ -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}" />
|
||||||
|
|
Loading…
Reference in New Issue