Re: pl/pgsql feature request: shorthand for argument and local variable references - Mailing list pgsql-hackers

From Joel Jacobson
Subject Re: pl/pgsql feature request: shorthand for argument and local variable references
Date
Msg-id 2652010f-74f4-4c97-8967-bc793eb978c2@www.fastmail.com
Whole thread Raw
In response to Re: pl/pgsql feature request: shorthand for argument and local variable references  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: pl/pgsql feature request: shorthand for argument and local variable references
List pgsql-hackers
On Thu, Jan 6, 2022, at 19:03, Pavel Stehule wrote:
> The possibility to define a label dynamically is a better solution (not by some buildin keyword),
> because it allows some possibility for the end user to define what he prefers.

I'm trying to understand why you think a user-defined notation is desirable,
why it wouldn't be better if the SQL standard would endorse a notation,
so we could all write code in the same way, avoiding ugly GUCs or PRAGMAs altogether?

If "in." would work, due to "in" being a reserved SQL keyword,
don't you think the benefits of a SQL standardized solution would outweigh our
personal preferences on what word each one of us prefer?

/Joel

pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: SQL:2011 application time
Next
From: Tomas Vondra
Date:
Subject: Re: Collecting statistics about contents of JSONB columns