From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Jukka Inkeri <pg(at)awot(dot)fi> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Problem to use remote cygwin server using ssh and native psql 8.3.5 |
Date: | 2009-11-10 17:46:37 |
Message-ID: | 9837222c0911100946u2a068f6du8ed99e4722d3907b@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, Nov 9, 2009 at 06:15, Jukka Inkeri <pg(at)awot(dot)fi> wrote:
>
>>
>> The native psql is written for Windows, not for Cygwin. You really
>> shouldn't be using it there... If you are using Cygwin, you should be
>> using a Cygwin psql.exe.
>>
>>
>
> PG pages says: use native, not cygwin version anymore.
Yes, that is for the Windows platform. Cygwin is a different platform,
really. Perhaps we should clarify that - what page exactly are you
referring to?
> It's not problem if
> it's "windows" binary, you can use many native binary commands in cygwin,
> ex. java. psql termio is the problem. If I translate 8.4.1 using gcc, those
> binary not work also.
Right. The problem is that the cygwin terminal is not fully windows
compatible. This is why when using Cygwin, you should be using Cygwin
binaries.
> My scripts works now, after I use win binary psql with flag -f, just as I
> said in my own answer.
Glad to see you got it working.
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2009-11-10 18:42:10 | Re: Absolute value of intervals |
Previous Message | Antonio Ruggiero | 2009-11-10 17:02:13 | Re: -c argument not recognized |