From: | M Sarwar <sarwarmd02(at)outlook(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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:34:51 |
Message-ID: | DM4PR19MB5978A3CB27D4267D16BD5DD5D395A@DM4PR19MB5978.namprd19.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Richard Coleman,
Based on Tom's email, here is my advise to you.
Prepare all your commands and copy to a notepad.
Now copy from the notepad and execute the commands and let us see if you get the same errors like in your first email.
Thanks,
Sarwar
________________________________
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Sent: Thursday, December 21, 2023 2:26 PM
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?
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
From | Date | Subject | |
---|---|---|---|
Next Message | Krishna B | 2023-12-21 19:41:59 | Login script |
Previous Message | Michael Thomas | 2023-12-21 19:33:04 | help |