From: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at> |
---|---|
To: | "Tobadao *EXTERN*" <tobaquyen(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Error pg_standby 'pg_standby' is not recognized as an internal or external command!! |
Date: | 2013-11-29 12:44:55 |
Message-ID: | A737B7A37273E048B164557ADEF4A58B17C6D790@ntex2010a.host.magwien.gv.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Albe Laurenz | 2013-11-29 12:58:27 | Re: What query optimisations are included in Postgresql? |
Previous Message | Glyn Astill | 2013-11-29 11:37:30 | Re: unnest on multi-dimensional arrays |