Re: psql: tab completion differs on semicolon placement

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: psql: tab completion differs on semicolon placement
Date: 2021-09-20 20:58:04
Message-ID: 4DC0BC85-24BF-4D07-8D7E-F40350838F7A@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 20 Sep 2021, at 21:26, Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org> wrote:

> IMO a fix should be more principled than just special-casing semicolon
> and CREATE TABLE. Maybe get_previous_words() should stop when it sees
> an unquoted semicolon?

Agreed, something along those lines makes sense. I will familiarize myself
with this file (which until today has been a blank spot) and will see what I
can come up with.

--
Daniel Gustafsson https://vmware.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2021-09-20 21:29:26 Re: Parallel Full Hash Join
Previous Message Alvaro Herrera 2021-09-20 20:42:26 Re: .ready and .done files considered harmful