Comment 15 for bug 897098

Revision history for this message
Nicola Riolini - Micronaet (nicolariolini) wrote : Re: problem after restore: there is no primary key for referenced table "res_users"

Got a better solution, thanks to enlightx:
I have always this problem if I restore my database and, when openerp seems finish, I stop console server and restart service (or ac onsole without update all).
The problem is that postgres is still runnig (test with: top). Solution: let postgres running and when in top finish using CPU resource, stop the console server.

No primary key was deleted during the making of this database! :)