Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

			regards, tom lane

In response to

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group