Re: [GENERAL] Problem to use remote cygwin server using ssh and native psql 8.3.5

2009-11-10 Thread Magnus Hagander
On Mon, Nov 9, 2009 at 06:15, Jukka Inkeri 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, t

Re: [GENERAL] Problem to use remote cygwin server using ssh and native psql 8.3.5

2009-11-08 Thread Jukka Inkeri
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. It's not problem if it's "windows" binary, you can use many native binary

Re: [GENERAL] Problem to use remote cygwin server using ssh and native psql 8.3.5

2009-11-08 Thread Magnus Hagander
On Sun, Nov 8, 2009 at 12:35, Jukka Inkeri wrote: > > I have installed cycwin and sshd in my Windows server. > > I have Winnative psql.exe (8.3.5) > > If I use cygwin locally in this server and give command in cygwin session: >   psql -h somehost -U someuser -d somedb > it works fine > > But if i

Re: [GENERAL] Problem to use remote cygwin server using ssh and native psql 8.3.5

2009-11-08 Thread Sam Mason
On Sun, Nov 08, 2009 at 02:25:26PM +0200, Jukka Inkeri wrote: > Jukka Inkeri wrote: > >tested using Cygwin 1.5.x and 1.7.x > > > >Ssh tty problem using Windows native psql.exe ? > > If I use flag -f in psql, then no problem. [...] > Interactive work not. If I remember correctly it's to do with

Re: [GENERAL] Problem to use remote cygwin server using ssh and native psql 8.3.5

2009-11-08 Thread Jukka Inkeri
Jukka Inkeri wrote: I have installed cycwin and sshd in my Windows server. I have Winnative psql.exe (8.3.5) If I use cygwin locally in this server and give command in cygwin session: psql -h somehost -U someuser -d somedb it works fine But if i use via ssh same way, then no echo ... and proc