Re: Setting usesuper bit for user postgres.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Horvath <johnh(at)csse(dot)unimelb(dot)edu(dot)au>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Setting usesuper bit for user postgres.
Date: 2007-07-18 14:26:32
Message-ID: 18110.1184768792@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

John Horvath <johnh(at)csse(dot)unimelb(dot)edu(dot)au> writes:
> The 'usesuper' bit for user "postgres" was set to 'f' by default in the
> pg_shadow table in my
> PostgreSQL 7.4.2 installation when I installed it on my OS X host.

I seriously, seriously doubt that there was no superuser by default.

> Any pointers on how to fix the usesuper bit issue for user postgres when
> this is the only DB "superuser"?

Standalone mode will make you a superuser. See the postgres reference
page.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message km4hr 2007-07-18 14:42:54 Re: What user privileges do I need to CREATE FUNCTION's?
Previous Message Abraham, Danny 2007-07-18 13:42:38 "CREATE TABLESPACE" cannot run within a Stored Procedure - "Inside a transaction bloc"