Re: pulling my hair out..

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: David Bear <David(dot)Bear(at)asu(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pulling my hair out..
Date: 2004-11-05 00:45:52
Message-ID: 20041104164420.X15783@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, 4 Nov 2004, David Bear wrote:

> I'm using pg 7.3 on freebsd..
>
> I've created a database use sql.
>
> now, as the pg superuser I cant seem to grant any permissions on the
> tables in the db..
>
> npcenter-# \z
> Access privileges for database "npcenter"
> Schema | Table | Access privileges
> --------+--------------+-------------------
> public | contactNames |
> public | pga_diagrams |
> public | pga_forms |
> public | pga_graphs |
> public | pga_images |
> public | pga_layout |
> public | pga_queries |
> public | pga_reports |
> public | pga_scripts |
> (9 rows)
>
> npcenter=# grant all on table contactNames to group npcenter;
> ERROR: relation "contactnames" does not exist
> npcenter=# grant all on table 'contactNames' to group npcenter;
> ERROR: syntax error at or near "'contactNames'" at character 20

I think you want "contactNames" to refer to the table.
Doublequoted identifiers aren't casefolded.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Fuhr 2004-11-05 00:50:33 Re: pulling my hair out..
Previous Message David Bear 2004-11-05 00:07:20 pulling my hair out..