Community mailing list archives
Re: How to execute "run touch global/pg_control" in windowsby
"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 <firstname.lastname@example.org> 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 <email@example.com>: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 <firstname.lastname@example.org> wrote:
e-acta, Brahim EL ALLIOUI