Re: [Patch]Add tab completion for DELETE ... USING - Mailing list pgsql-hackers

From Tatsuya Kawata
Subject Re: [Patch]Add tab completion for DELETE ... USING
Date
Msg-id CAHza6qcYN6vjpD_39RpPKBBmY4XP4Vyv-61Us8Z5A8hwgd1cGw@mail.gmail.com
Whole thread
In response to Re: [Patch]Add tab completion for DELETE ... USING  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: [Patch]Add tab completion for DELETE ... USING
List pgsql-hackers
Hi Fujii-san,

Thank you for your review!

> Would it be better to use "relations supporting SELECT" instead of "selectables"?

Good point. I've updated the comment to use "relations supporting SELECT" for consistency.

> As for the regression test, I agree with Kirill.

In my earlier discussion with Kirill, I argued that tests should be kept since this patch implements a new feature.
However, I now understand that the existing tests already cover the Query_for_list_of_selectables pattern,
so a separate test for DELETE ... USING would be redundant. I've removed the test in the updated patch.

I've prepared a v5 patch with the following changes:
 - Use "relations supporting SELECT" in the comment for consistency
 - Remove the regression test

The updated v5 patch is attached.

Regards,
Tatsuya Kawata
Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: POC: PLpgSQL FOREACH IN JSON ARRAY
Next
From: "Joel Jacobson"
Date:
Subject: Re: [BUG?] estimate_hash_bucket_stats uses wrong ndistinct for avgfreq