Community mailing list archives
Re: How to execute "run touch global/pg_control" in windowsby
Aurium Technologies, zahid
"touch" is a linux command that creates an empty file and assigns current create date and sets permissions to active user. There is no equivalent in windows as far as know. But you can do the same job by creating that file (global/pg_control) and setting permissions manually.
On Fri, Apr 1, 2016 at 6:57 PM, Brahim EL ALLIOUI <email@example.com> wrote:
thank you for the answer,the problem is : following a power failure the database is corrupt.I found that the file "pg_control" missing.I executed the command "pg_resetxlog" and he gave me the message:run : touch global/pg_control2016-04-01 18:23 GMT+01:00 zahid jalal <firstname.lastname@example.org>:AFAIK there is no equivalent of "touch" in windows. You can simply modify your file permissions the usual way ( right click / proprieties )On Fri, Apr 1, 2016 at 1:11 PM, Brahim EL ALLIOUI <email@example.com> wrote:
e-acta, Brahim EL ALLIOUI