Skip to content

Commit 0960dc2

Browse files
committed
Document why CREATE CONSTRAINT TRIGGER doesn't tab complete.
1 parent 94e4778 commit 0960dc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/psql/tab-complete.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/tab-complete.c,v 1.120 2005/01/01 05:43:08 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/tab-complete.c,v 1.121 2005/01/23 15:58:50 momjian Exp $
77
*/
88

99
/*----------------------------------------------------------------------
@@ -411,6 +411,7 @@ static const pgsql_thing_t words_after_create[] = {
411411
{"AGGREGATE", NULL, &Query_for_list_of_aggregates},
412412
{"CAST", NULL, NULL}, /* Casts have complex structures for
413413
* names, so skip it */
414+
/* CREATE CONSTRAINT TRIGGER is not supported here because it is designed to be used only by pg_dump. */
414415
{"CONVERSION", "SELECT pg_catalog.quote_ident(conname) FROM pg_catalog.pg_conversion WHERE substring(pg_catalog.quote_ident(conname),1,%d)='%s'"},
415416
{"DATABASE", Query_for_list_of_databases},
416417
{"DOMAIN", NULL, &Query_for_list_of_domains},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy