| From: | Matemática A3K <matematica(dot)a3k(at)gmail(dot)com> |
|---|---|
| To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
| Cc: | "vishnupalani19(at)gmail(dot)com" <vishnupalani19(at)gmail(dot)com>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Clarification on SET SESSION AUTHORIZATION Syntax |
| Date: | 2026-11-14 02:59:34 |
| Message-ID: | CA+FDnhKdvjNV77Tp-L=PkE0UgbmPgvRV8nVBgGfbSU4E4WYXaQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
On Fri, Nov 13, 2026 at 12:32 AM David G. Johnston
<david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
>
> On Thursday, November 12, 2026, Matemática A3K <matematica(dot)a3k(at)gmail(dot)com> wrote:
>>
>> After re-reading both, I wonder if a more appropriate syntax description is:
>> SET [ SESSION | LOCAL ] SESSION AUTHORIZATION { user_name |
>> 'user_name' | DEFAULT }
>> RESET SESSION AUTHORIZATION
>
>
> Yes, the difference there seems like a simple oversight.
Indeed! I tried changing the syntax to that and realized that I
couldn't rewrite the last paragraph of the description (woof! too
hard...). So, I only added the string literal referenced in the
description to the syntax.
Attaching the patch for completeness.
It makes sense to me to generate a bigger patch with all the patches
like this from time to time (let´s say, a month...), and commit it
with a subject like "doc: Monthly minor fixes". This way, small fixes
can get their way into the doc.
Do you think it would get approved?
>
> David J.
>
| Attachment | Content-Type | Size |
|---|---|---|
| 00001_doc_improve_set_authorization_syntax.patch | text/x-patch | 659 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fujii Masao | 2026-11-16 04:27:27 | Re: Clarification on SET SESSION AUTHORIZATION Syntax |
| Previous Message | Karen Jex | 2026-11-13 09:14:02 | Re: Good beginner doc-hacking task: clear-text vs. cleartext vs. clear text vs. plaintext etc.. |