pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lou Picciano <loupicciano@comcast.net>
To: pgsql-testers <pgsql-testers@postgresql.org>
Subject: Trying to GRANT privileges on a newly-created database
Date: Sun, 2 May 2010 22:59:35 +0000 (UTC)
Message-ID: <1720764182.4921461272841175665.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> (raw)



[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. 

view thread (2+ messages)  latest in thread

Message-ID: <1720764182.4921461272841175665.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
Permalink:  ../1720764182.4921461272841175665.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net/
Also on:    postgresql.org/message-id/1720764182.4921461272841175665.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-testers@postgresql.org
  Cc: loupicciano@comcast.net
  Subject: Re: Trying to GRANT privileges on a newly-created database
  In-Reply-To: <1720764182.4921461272841175665.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
  References: <1720764182.4921461272841175665.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox