Improve psql tab completion for various DROP commands

Michael Paquier <michael@paquier.xyz>

Commit: 9270778f467dad0d78d3b9e435a89a6039322b2f
Author: Michael Paquier <michael@paquier.xyz>
Date: 2021-12-01T01:50:51Z
Releases: 15.0
Improve psql tab completion for various DROP commands

The following improvements are done:
- Handling of RESTRICT/CASCADE for DROP OWNED, matviews and policies.
- Handling of DROP TRANSFORM

This is a continuation of the work done in 0cd6d3b and f44ceb4.

Author: Ken Kato
Reviewed-by: Asif Rehman
Discussion: https://postgr.es/m/0fafb73f3a0c6bcec817a25ca9d5a853@oss.nttdata.com

Files

PathChange+/−
src/bin/psql/tab-complete.c modified +21 −0

Discussion