pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix psql tab-completion for identifiers containing dollars.
Date: Tue, 19 Sep 2023 16:30:04 +0000
Message-ID: <E1qidbw-004n17-Ak@gemulon.postgresql.org> (raw)

Fix psql tab-completion for identifiers containing dollars.

Dollar ($) is a legit character for identifiers, except as the first
character, since commit 1bd22f55cf in version 7.4. Update the
tab-completion code accordingly.

Author: Mikhail Gribkov
Reviewed-by: Vik Fearing
Discussion: https://www.postgresql.org/message-id/CAMEv5_sTAvPvhye%2Bu4jkWDe5UGDiQ1ZkQomnKCboM08zDzOe%3Dg%40mail...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1f998863b0bc6fc8ef3d971d9c6d2c29b52d8ba2

Modified Files
--------------
src/bin/psql/tab-complete.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



Message-ID: <E1qidbw-004n17-Ak@gemulon.postgresql.org>
Permalink:  ../E1qidbw-004n17-Ak@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qidbw-004n17-Ak@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix psql tab-completion for identifiers containing dollars.
  In-Reply-To: <E1qidbw-004n17-Ak@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox