Re: how to create an admin user for restore database.

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Sam Wun <swun2010(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to create an admin user for restore database.
Date: 2010-06-23 07:45:14
Message-ID: 4C21BB8A.3020702@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Le 23/06/2010 05:17, Sam Wun a écrit :
> With user liferayadmin on db liferay, I got the following errors:
>
> 03:14:50,558 WARN [DBUtil:474] ERROR: permission denied for relation
> quartz_locks: insert into QUARTZ_LOCKS values('TRIGGER_ACCESS');
> 03:14:50,567 WARN [DBUtil:474] ERROR: permission denied for relation
> quartz_locks: insert into QUARTZ_LOCKS values('JOB_ACCESS');
> 03:14:50,582 WARN [DBUtil:474] ERROR: permission denied for relation
> quartz_locks: insert into QUARTZ_LOCKS values('CALENDAR_ACCESS');
> 03:14:50,593 WARN [DBUtil:474] ERROR: permission denied for relation
> quartz_locks: insert into QUARTZ_LOCKS values('STATE_ACCESS');
> 03:14:50,608 WARN [DBUtil:474] ERROR: permission denied for relation
> quartz_locks: insert into QUARTZ_LOCKS values('MISFIRE_ACCESS');
>
> ...
>
> How can I assigne admin permission to liferayadmin user?
>

ALTER ROLE liferayadmin SUPERUSER;

as the fine manual says (see
http://www.postgresql.org/docs/8.4/interactive/sql-alterrole.html)

--
Guillaume
http://www.postgresql.fr
http://dalibo.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Deven 2010-06-23 08:13:56 Re: Facing Problem in Autovacuuming Deamon....
Previous Message Ravi Katkar 2010-06-23 06:56:57 disable password prompt - command line