Search Postgresql Archives

Re: Error pg_standby 'pg_standby' is not recognized as an internal or external command!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tobadao wrote:
> Hello everyone.
> I'm using PostgreSQl 9.2 on the windows XP
> in recovery.conf  use command
> 
> 
> *standby_mode = 'on'
> primary_conninfo = 'host=10.0.10.2 port=5432 user=postgres password =
> password'
> restore_command = 'copy \\\\10.0.10.2\\archiver\\%f %p'
> restore_command = 'pg_standby -d -s 5 -t C:\pgsql.trigger.5442
> \\\\10.0.10.2\\archiver\\%f %p %r 2>>standby.log'
> recovery_end_command = 'del C:\pgsql.trigger.5442'*
> 
> 
> and standby.log say
> 
> 'pg_standby' is not recognized as an internal or external command, operable
> program or batch file.
> 
> How to fix ?

I don't really know much about Windows, but shouldn't it help if
the PATH environment variable of the PostgreSQL process contains the directory
that contains pg_standby.exe?

Yours,
Laurenz Albe

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux