Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #17  
Old 01-07-2007, 06:58 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: v1.03

[ 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&gt; " . 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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:14 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.