[PATCH] Tiny CREATE STATISTICS tab-completion cleanup

From: ilmari(at)ilmari(dot)org (Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?=)
To: pgsql-hackers(at)postgresql(dot)org
Subject: [PATCH] Tiny CREATE STATISTICS tab-completion cleanup
Date: 2018-11-26 16:49:35
Message-ID: d8jwooziy1s.fsf@dalvik.ping.uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

- ilmari
--
"I use RMS as a guide in the same way that a boat captain would use
a lighthouse. It's good to know where it is, but you generally
don't want to find yourself in the same spot." - Tollef Fog Heen

Attachment Content-Type Size
0001-Use-wildcard-to-match-parens-after-CREATE-STATISTICS.patch text/x-diff 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2018-11-26 16:56:55 Re: Covering GiST indexes
Previous Message Andrey Borodin 2018-11-26 16:43:20 Re: B-tree cache prefetches