![]() |
|
#17
|
|||
|
|||
|
[ QUOTE ]
[ QUOTE ] creates files with no endings such as this "20070107111033_Stars" ??? [/ QUOTE ] Oh - that may be that password problem. Have a look at this post. [/ QUOTE ] That should be an error log TXT file, viewable in notepad. The postgres function should delete it if all went well. If it's not the password thing, I'd wager it is the spaces in your DB names - I never thought about that since I never bother to reneme my DBs, they are all PTPGSQL! etc. Alteration of the psql function with this changed line I hope will fix it: <font class="small">Code:</font><hr /><pre> command := "psql.exe -A -t -h " . host . " -p 5432 -U " . username . " -d """ . database . """ -f " . file1 . " -o " . file2 . " 2> " . file3 </pre><hr /> I just put quotes around the database variable. Seems to cause no problem on my databases, so I guess it should work for ones with spaces in the names [img]/images/graemlins/smile.gif[/img] I'll probably make a testing database later and try it out... dave. |
|
|