Re: Problem with GRANT in 7.4.19

From: "Kakoli Sen" <kakolis(at)cdacb(dot)ernet(dot)in>
To: <pgsql-general(at)postgresql(dot)org>
Cc: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
Subject: Re: Problem with GRANT in 7.4.19
Date: 2008-03-13 10:52:28
Message-ID: IAEGJAMPJBBOGKLOGJADGEHBCCAA.kakolis@cdacb.ernet.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

This time the command GRANT ALL PRIVILEGES ON DATABASE "casDatabase" to
tester; did not give error.

But the permission is still not there. I run the following commands :

psql -d casDatabase -U tester -W. Then \z command shows empty Access
Privileges on all tables.

Also select * from table_name; gives error :

ERROR: permission denied for relation table_name

Regards,

Kakoli

> -----Original Message-----
> From: A. Kretschmer [mailto:andreas(dot)kretschmer(at)schollglas(dot)com]
> Sent: Thursday, March 13, 2008 3:22 PM
> To: pgsql-general(at)postgresql(dot)org
> Subject: Re: Problem with GRANT in 7.4.19
>
>
> am Thu, dem 13.03.2008, um 15:09:18 +0530 mailte Kakoli Sen folgendes:
> > Dear all,
> > The command GRANT ALL PRIVILEGES ON DATABASE casDatabase to tester;
> > is giving error:
> > ERROR: database "casdatabase" does not exist.(Note that the db
> name in error
> > is all in lower case).
> >
> > Also \l shows that casDatabase exists.
> > Why is 'casDatabase' being changed to 'casdatabase'?
>
> Try:
> GRANT ALL PRIVILEGES ON DATABASE "casDatabase" to tester;
>
>
> Andreas
> --
> Andreas Kretschmer
> Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
> GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Verite 2008-03-13 10:59:57 Re: Trigger to run @ connection time?
Previous Message Albe Laurenz 2008-03-13 10:43:08 Re: Problem with GRANT in 7.4.19