pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: richard coleman <rcoleman.ascentgl@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Case sensitive grant statements in pg14?
Date: Thu, 21 Dec 2023 14:26:26 -0500
Message-ID: <832930.1703186786@sss.pgh.pa.us> (raw)
In-Reply-To: <CAGA3vBvWwg21=YawST0AA5-_Gd-niCMnxrORN7=Pj_-nT_MP+Q@mail.gmail.com>
References: <CAGA3vBua6YVJBDKfsaE51U6X0fO5bRfvOtsLFSd+KTy3J95LtA@mail.gmail.com>
	<796632.1703183786@sss.pgh.pa.us>
	<CAGA3vBvWwg21=YawST0AA5-_Gd-niCMnxrORN7=Pj_-nT_MP+Q@mail.gmail.com>

richard coleman <rcoleman.ascentgl@gmail.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





view thread (13+ messages)  latest in thread

Message-ID: <832930.1703186786@sss.pgh.pa.us>
Permalink:  ../832930.1703186786@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/832930.1703186786@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, rcoleman.ascentgl@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Case sensitive grant statements in pg14?
  In-Reply-To: <832930.1703186786@sss.pgh.pa.us>

* 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