pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: psql: Tab completion for ALTER TYPE ... CASCADE/RESTRICT
Date: Mon, 16 Dec 2024 16:33:52 +0000
Message-ID: <E1tNE2a-0031ww-5b@gemulon.postgresql.org> (raw)

psql: Tab completion for ALTER TYPE ... CASCADE/RESTRICT

Updates table completion for ALTER TYPE to offer CASCADE/RESTRICT for a
number of actions on attributes:

    ALTER TYPE ... ADD/DROP/RENAME ATTRIBUTE ... [CASCADE|RESTRICT]
    ALTER TYPE ... TYPE ... [CASCADE|RESTRICT]

Author: Kirill Reshke
Reviewed-By: Karina Litskevich
Discussion: https://postgr.es/m/CALdSSPhVELkvutquqrDB=Ujfq_Pjz=6jn-kzh+291KPNViLTfw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8f11ef80c5458f0d12eefa1c6fbba81af8bb3042

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



view thread (2+ messages)

Message-ID: <E1tNE2a-0031ww-5b@gemulon.postgresql.org>
Permalink:  ../E1tNE2a-0031ww-5b@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tNE2a-0031ww-5b@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: tomas.vondra@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: psql: Tab completion for ALTER TYPE ... CASCADE/RESTRICT
  In-Reply-To: <E1tNE2a-0031ww-5b@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