Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9B836632969 for ; Sun, 2 May 2010 19:59:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 59695-07 for ; Sun, 2 May 2010 22:59:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qmta01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mail.postgresql.org (Postfix) with ESMTP id 41AF3632435 for ; Sun, 2 May 2010 19:59:36 -0300 (ADT) Received: from omta12.westchester.pa.mail.comcast.net ([76.96.62.44]) by qmta01.westchester.pa.mail.comcast.net with comcast id Clp61e0040xGWP851mzbhv; Sun, 02 May 2010 22:59:35 +0000 Received: from sz0093.wc.mail.comcast.net ([76.96.58.151]) by omta12.westchester.pa.mail.comcast.net with comcast id Cmzb1e00A3FmDic3Ymzb0g; Sun, 02 May 2010 22:59:35 +0000 Date: Sun, 2 May 2010 22:59:35 +0000 (UTC) From: Lou Picciano To: pgsql-testers Message-ID: <1720764182.4921461272841175665.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> Subject: Trying to GRANT privileges on a newly-created database MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_254267_1534402594.1272841175664" X-Originating-IP: [76.117.184.231] X-Mailer: Zimbra 5.0.19_GA_3172.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.19_GA_3177.RHEL5_64) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.009 tagged_above=-10 required=5 tests=BAYES_20=-0.001, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/2 X-Sequence-Number: 85 ------=_Part_254267_1534402594.1272841175664 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit [TEST REPORT] [Release]: 8.5alpha2 [Test Type]: psql CLI [Test]: Trying to GRANT privileges on a newly-created database [Platform]: Solaris SPARC 4u (E450) [Parameters]: Trying to GRANT privileges on a newly-created database. db name in lower case. [Failure]: yes [Results]: # CREATE DATABASE dbname; # GRANT ALL ON dbname TO role; ERROR: relation "dbname" does not exist Please note this database is created in lower case; it has not been renamed from upper. # GRANT ALL ON dbname TO role; - produces the same error. [Comments]: We've seen that users have this problem with mixed-case object names, and must use quotes. Our example names have always been in lowercase - have not bee rename, and we've tried commands both without tnd with quotes! Have we somehow corrupted this cluster? Am seeing other strange behavior related to simple commands. ------=_Part_254267_1534402594.1272841175664 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: Verdana; font-size: 12pt; color: #000000'>

[TEST REPORT]

[R= elease]: 8.5alpha2

[Tes= t Type]: psql CLI

[Test= ]: Trying to GRANT privileges on a newly-created database

[Platform]:&= nbsp;Solaris SPARC 4u (E450)

[Pa= rameters]: Trying to GRANT privileges on a newly-created database.=  db name in lower case.

[F= ailure]: yes

[Results]:&= nbsp;

# CREATE DATABASE dbname;

# GRANT ALL ON dbname TO role;

ERROR:  relation "dbname" does= not exist

Please note this database is created in lowe= r case; it has not been renamed from upper.

# GRANT ALL= ON dbname TO role;  - produces the same error.

[Comments]:  We've seen that users h= ave this problem with mixed-case object names, and must use quotes.  O= ur example names have always been in lowercase - have not bee rename, and w= e've tried commands both without tnd with quotes!  Have we somehow cor= rupted this cluster?  Am seeing other strange behavior related to simp= le commands.

------=_Part_254267_1534402594.1272841175664--