X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 63668D1B46A for ; Sat, 27 Dec 2003 23:05:25 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 94952-04 for ; Sat, 27 Dec 2003 19:04:37 -0400 (AST) Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by svr1.postgresql.org (Postfix) with SMTP id D1AFCD1B440 for ; Sat, 27 Dec 2003 19:04:34 -0400 (AST) Received: (qmail 32009 invoked by uid 417); 27 Dec 2003 23:04:37 -0000 Received: from tango-.softhome.net (HELO softhome.net) (172.16.2.14) by shunt-smtp-com-out-com-0 with SMTP; 27 Dec 2003 23:04:37 -0000 Received: from eirny.bellsouth.net ([68.215.193.149]) (AUTH: PLAIN cshobe@softhome.net) by softhome.net with esmtp; Sat, 27 Dec 2003 16:04:37 -0700 From: Casey Allen Shobe To: "PostgreSQL Mailing Lists-SQL" Subject: Re: What am I doing wrong in here? Date: Sat, 27 Dec 2003 17:56:29 -0500 User-Agent: KMail/1.5.94 References: <200312271153.20937.cshobe@softhome.net> <12885.1072551003@sss.pgh.pa.us> In-Reply-To: <12885.1072551003@sss.pgh.pa.us> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200312271756.29959.cshobe@softhome.net> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/210 X-Sequence-Number: 16376 Saturday 27 December 2003 13:50 > This analysis is nonsense ... system catalog operations do not do the > same kinds of permission checks as user queries do. Furthermore, if > he'd not had permissions to create users, the initial CREATE USER > command would have failed, and so would CREATE DATABASE (since it would > then be specifying a nonexistent owner name). The CREATE USER *did* fail, didn't it? I'm sorry if I was inaccurate in my= =20 response, but I don't believe I was - I think maybe we're just interpreting= =20 the E-Mail two different ways. Devrim, if you could copy and paste exactly= =20 what you're doing and exactly where the errors appear in a psql session, th= at=20 would be most helpful. I did nat say that the user had to be a superuser, only that the user had t= o=20 have createuser permission in order to CREATE USER. And the last sentence = of=20 the first paragraph may not be syntactically accurate because I am not=20 familiar with PostgreSQL's internals, but that is the effect of creating a= =20 user, as I said in the second paragraph. > My guess is that Devrim interpreted your suggestion as telling him to > make the created user (tdmsoftmailserveruser) a superuser, which would > naturally suppress any and all permissions failures for operations > executed by that user. That's hardly a reasonable answer to his problem > though. That is *NOT* what I suggested at all. > As to what his real problem is, I dunno, but I'd like to find out. Sure. Vertu s=E6ll, --=20 Sig=FE=F3r Bj=F6rn Jar=F0arson (Casey Allen Shobe) cshobe@softhome.net / http://rivyn.livejournal.com Jabber: sigthor@jabber.org; ICQ: 1494523; AIM/Yahoo: SomeLinuxGuy Free development contributor of: > KDE toolbar icons > Kopete user interface, usability, and testing > X11 Icelandic Dvorak keymaps > Reporting of over 100 Kopete bugs