pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Niklas Johansson <niklas@codecraft.se>
To: Daniel J. Summers <daniel@djs-consulting.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Created non-owner user cannot see database
Date: Sun, 20 Jul 2008 14:16:54 +0200
Message-ID: <1941FA53-07B1-4984-AC21-CF0628446D39@codecraft.se> (raw)
In-Reply-To: <4882A742.4060500@djs-consulting.com>
References: <4882A742.4060500@djs-consulting.com>


On 20 jul 2008, at 04.47, Daniel J. Summers wrote:
> grant usage on database custom_database to user_no_2;
>
> Now, none of these commands failed - they all came back with  
> "CREATE ROLE" (or the appropriate response).

Are you sure?

'GRANT USAGE ON DATABASE...' is invalid syntax. You probably want  
'GRANT CONNECT ON DATABASE...'.




Sincerely,

Niklas Johansson






view thread (5+ messages)  latest in thread

Message-ID: <1941FA53-07B1-4984-AC21-CF0628446D39@codecraft.se>
Permalink:  ../1941FA53-07B1-4984-AC21-CF0628446D39@codecraft.se/
Also on:    postgresql.org/message-id/1941FA53-07B1-4984-AC21-CF0628446D39@codecraft.se

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: niklas@codecraft.se, daniel@djs-consulting.com
  Subject: Re: Created non-owner user cannot see database
  In-Reply-To: <1941FA53-07B1-4984-AC21-CF0628446D39@codecraft.se>

* 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