Re: Case sensitive grant statements in pg14? - Mailing list pgsql-admin

From Tom Lane
Subject Re: Case sensitive grant statements in pg14?
Date
Msg-id 796632.1703183786@sss.pgh.pa.us
Whole thread Raw
In response to Case sensitive grant statements in pg14?  (richard coleman <rcoleman.ascentgl@gmail.com>)
Responses Re: Case sensitive grant statements in pg14?  (richard coleman <rcoleman.ascentgl@gmail.com>)
List pgsql-admin
richard coleman <rcoleman.ascentgl@gmail.com> writes:
> grant create, usage on schema {schema_name} to {role};

> fails with the error:
> ERROR: syntax error at or near "{role}"

> but by changing the capitalization of the statement to:
> GRANT CREATE, USAGE ON SCHEMA {schema_name} TO {role};

> completes successfully.

What are you expecting will replace "{role}" with something
valid?  Whatever that is is apparently somehow dependent
on the context being upper-case.

            regards, tom lane



pgsql-admin by date:

Previous
From: richard coleman
Date:
Subject: Case sensitive grant statements in pg14?
Next
From: richard coleman
Date:
Subject: Re: Case sensitive grant statements in pg14?