Improve tab completion for REFRESH MATERIALIZED VIEW

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Improve tab completion for REFRESH MATERIALIZED VIEW
Date: 2016-01-26 12:52:30
Message-ID: CAD21AoAs+m=BcchrkWZwm8jvLcQQaz8souqyyVFa8qGKtOZ03w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

Tab completion for REFRESH command is oddly with following scenario.

=# REFRESH MATERIALIZED VIEW CONCURRENTLY hoge_mv [Tab]

It shows only WITH DATA option without WITH NO DATA option.
Attached patch improves tab completion for WITH DATA/NO DATA option of
REFRESH MATERIALIZED VIEW.

Regards,

--
Masahiko Sawada

Attachment Content-Type Size
improve_tab_completion_for_refresh.patch binary/octet-stream 939 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-01-26 12:53:26 Re: Add generate_series(date, date) and generate_series(date, date, integer)
Previous Message Vitaly Burovoy 2016-01-26 12:48:07 Re: custom function for converting human readable sizes to bytes