[GENERAL] Permission denied for relation pg_database , one role has problem

2012-08-26 Thread Jukka Inkeri
And many others errors when xsome user connect to database x, schema xxx. PG 8.4. Problems started about same time as search_path has SET. search_path has reset, but did'nt help. ALTER DATABASE x SET search_path=some, public; -- xxx wasn't in that list ALTER DATABASE x RESET search_path; - has

[GENERAL] Permission denied for relation pg_database , one role has problem

2012-08-25 Thread Jukka Inkeri
And many others errors when xsome user connect to database x, schema xxx. PG 8.4. Problems started about same time as search_path has SET. search_path has reset, but did'nt help. ALTER DATABASE x SET search_path=some, public; -- xxx wasn't in that list ALTER DATABASE x RESET search_path; - has

Re: [GENERAL] Looking for a script that performs full online backup of postgres in archive mode

2009-11-09 Thread Jukka Inkeri
> have a shell script that performs a full online backup of postgres? Full backup ex. pg_dumpall Daily backup (dump) / database: - - - - - - - - - - - - - - - #!/someshellpath like /bin/sh or /bin/bash or /bin/ksh ... #daily.sh #default plaintext #usage: daily.sh [c|t|p] # PORT=5432 HOST="loca

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 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

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

2009-11-08 Thread Jukka Inkeri
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 process hang. I have