Re: [PATCH] Tiny CREATE STATISTICS tab-completion cleanup

From: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
To: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Tiny CREATE STATISTICS tab-completion cleanup
Date: 2018-11-28 00:01:15
Message-ID: 2adf03cf-9a76-311a-2cc0-d0af6aa4bbaa@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/27/18 12:55 AM, Tomas Vondra wrote:
> Hi,
>
> On 11/26/18 5:49 PM, Dagfinn Ilmari Mannsåker wrote:
>> Hi Hackers,
>>
>> As I was hacking on the CREATE TABLE tab completions, I noticed that the
>> CREATE STATISTICS completion was checking manually for the start and end
>> of the parenthesised list instead of using the "(*)" wildcard (because
>> it predates that functionality). Attached is a patch that updates it to
>> use the modern syntax.
>>
>
> Makes sense. At first I was wondering why it was not modified by the
> patch introducing the "(*)" wildcard, but I see 121213d9 only cared
> about VACUUM, EXPLAIN and ANALYZE.
>
> The patch seems fine to me, I'll get it committed.
>

Pushed. Thanks for the patch.

regards

--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-11-28 00:18:39 Re: Minor typo
Previous Message Daniel Gustafsson 2018-11-27 23:49:49 Re: Minor typo