| From: | Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com> |
|---|---|
| To: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
| Cc: | Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>, SATYANARAYANA NARLAPURAM <satyanarlapuram(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: [Bug] Add the missing RTE_GRAPH_TABLE case to transformLockingClause() |
| Date: | 2026-07-09 09:40:48 |
| Message-ID: | CAExHW5v16VoMJSNTEudqOj4di9Y5WF_wUmf9wVTM6jdzYJXPxw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, Jul 9, 2026 at 1:48 PM Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
>
> On 10.06.26 14:49, Ashutosh Bapat wrote:
> >> Attached is v2-0001, rebased on master and addressing
> >> the comments you added in case we plan on parking the feature
> >> work for once v20 opens.
> > Thanks. I revised it a bit. Reworded the commit message to describe
> > user facing behaviour instead of the internals, which are quite
> > obvious from the code changes. Other cases in transformLockingClause()
> > don't mention XXX, they just have ereport(). Removed that comment.
> > Also massaged comments in the test - we usually don't describe the
> > expected behaviour or error when it is obvious from the output.
> > Attached revised patch.
>
> Committed.
>
Thanks.
> I also modified the comment that said "ignore JOIN, SPECIAL, ..." to
> just say "ignore all other RTE kinds", because keeping that kind of list
> up to date is silly. (RTE_SPECIAL hasn't existed in a long time.)
That comment is useful since it confirms that the omission is
intentional; however I agree that keeping it up to date is cumbersome.
Maybe we need some way to tie the two switch cases so that
unintentional omissions can be easily caught.
--
Best Wishes,
Ashutosh Bapat
| From | Date | Subject | |
|---|---|---|---|
| Next Message | vaibhave postgres | 2026-07-09 10:36:58 | Rendezvous variables: safe to pass an access token between two extensions? |
| Previous Message | shveta malik | 2026-07-09 09:23:34 | Re: Support EXCEPT for TABLES IN SCHEMA publications |