Re: Case sensitive grant statements in pg14?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Case sensitive grant statements in pg14?
Date: 2023-12-21 19:26:26
Message-ID: 832930.1703186786@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)com> writes:
> I am having instances of (substituting example names for schema and role):
> grant create, usage on schema my_schema to bob;

> returning the error message:
> ERROR: syntax error at or near "bob"

> but:
> GRANT CREATE, USAGE ON SCHEMA my_schema TO bob;

> succeeding.

> I hope that's clearer.

Well, it's clearer, but I don't believe it. What I think is
far more likely an explanation is that you've got some weird
non-ASCII whitespace in the first version of the command.
Copying-and-pasting from your mail doesn't show anything
strange though.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Thomas 2023-12-21 19:33:04 help
Previous Message Wetmore, Matthew (CTR) 2023-12-21 19:13:42 Error: Package: postgresql13-devel-13.13-1PGDG.rhel7.x86_64