Community mailing list archives

community@mail.odoo.com

Re: How to execute "run touch global/pg_control" in windows

by
zahid
- 04/01/2016 14:01:31
"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.  


Odoo Integrator,
Data integration
BI and IT consulting.

j.zahid@auriumtechnologies.com
tél  0661360233 - 0636898882
fax 0528215738

On Fri, Apr 1, 2016 at 6:57 PM, Brahim EL ALLIOUI <belallioui@gmail.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_control



Brahim EL ALLIOUI
General Manager
Skype : belallioui
Tel : +212535749410
Mobile : +212661940077


2016-04-01 18:23 GMT+01:00 zahid jalal <j.zahid@gmail.com>:
AFAIK there is no equivalent of "touch" in windows.  You can simply modify your file permissions the usual way ( right click / proprieties )



Odoo Integrator,
Data integration
BI and IT consulting.

j.zahid@auriumtechnologies.com
tél  0661360233 - 0636898882
fax 0528215738

On Fri, Apr 1, 2016 at 1:11 PM, Brahim EL ALLIOUI <belallioui@gmail.com> wrote:
Hi,

How to execute "run touch global/pg_control" in windows ?

Thanks,


Brahim EL ALLIOUI
General Manager
Skype : belallioui
Tel : +212535749410
Mobile : +212661940077

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe