pgsql-server/src/bin/psql tab-complete.c

From: momjian(at)postgresql(dot)org (Bruce Momjian - CVS)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/bin/psql tab-complete.c
Date: 2002-11-15 03:07:53
Message-ID: 20021115030753.C49E3475ADD@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian(at)postgresql(dot)org 02/11/14 22:07:53

Modified files:
src/bin/psql : tab-complete.c

Log message:
Clean up psql:

Add simple ALTER DATABASE, ALTER TRIGGER, CHECK POINT, CREATE
CONVERSION, CREATE DOMAIN, CREATE LANGUAGE, DEALLOCATE, DROP CONVERSION,
DROP DOMAIN, DROP LANGUAGE, EXECUTE, PREPARE

Complete CAST in CREATE CAST and DROP CAST but doesn't suggest what
should follow.

Add many more SET / SHOW variables to the list. Taken from SHOW ALL
output.

Complete a case sensitive search to allow \dD, \dd, \dS, \ds, \h, \H to
complete properly. But there are no matches, then try a case
insensitive search to allow case conversion. Add all missing help
options.

\Q<tab> -> \q
\dD<tab> -> \dD
\dd<tab> -> \dd
\D<tab><tab><tab> -> \d (with listing of \d? commands)
sel<tab> -> SELECT

Rod Taylor

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2002-11-15 03:09:39 pgsql-server/ oc/src/sgml/ref/cluster.sgml rc/ ...
Previous Message Bruce Momjian - CVS 2002-11-15 02:54:44 pgsql-server/contrib/pgcrypto openssl.c