Re: Help: Dumb newbie locked himself out!
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Balazs Wellisch" <balazs@bwellisch.com>
Cc: pgsql-novice@postgresql.org
Date: 2002-07-17T19:52:29Z
Lists: pgsql-novice
"Balazs Wellisch" <balazs@bwellisch.com> writes: > UPDATE pg_shadow SET usesuper = true WHERE usename = 'postgres'; > ERROR: pg_shadow: Permission denied. Hmm. I forgot that you'd need usecatupd privilege to do that. > Any other suggestions? I appreciate your help. I think you may be stuck :-( ... unless you want to risk editing the pg_shadow file with a binary-file editor. regards, tom lane