pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: David Bear <David.Bear@asu.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: pulling my hair out..
Date: Thu, 4 Nov 2004 16:45:52 -0800 (PST)
Message-ID: <20041104164420.X15783@megazone.bigpanda.com> (raw)
In-Reply-To: <20041105000720.GK30626@asu.edu>
References: <20041105000720.GK30626@asu.edu>

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.



view thread (3+ messages)  latest in thread

Message-ID: <20041104164420.X15783@megazone.bigpanda.com>
Permalink:  ../20041104164420.X15783@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20041104164420.X15783@megazone.bigpanda.com

 · 

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-admin@postgresql.org
  Cc: sszabo@megazone.bigpanda.com, David.Bear@asu.edu
  Subject: Re: pulling my hair out..
  In-Reply-To: <20041104164420.X15783@megazone.bigpanda.com>
  References: <20041105000720.GK30626@asu.edu> <20041104164420.X15783@megazone.bigpanda.com>

* 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