From 0960dc2293cbc44401bf90af38461c7cb54b6b87 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 23 Jan 2005 15:58:50 +0000 Subject: [PATCH] Document why CREATE CONSTRAINT TRIGGER doesn't tab complete. --- src/bin/psql/tab-complete.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 1f2796ffd6..4255d62ac9 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2005, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/tab-complete.c,v 1.120 2005/01/01 05:43:08 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/tab-complete.c,v 1.121 2005/01/23 15:58:50 momjian Exp $ */ /*---------------------------------------------------------------------- @@ -411,6 +411,7 @@ static const pgsql_thing_t words_after_create[] = { {"AGGREGATE", NULL, &Query_for_list_of_aggregates}, {"CAST", NULL, NULL}, /* Casts have complex structures for * names, so skip it */ + /* CREATE CONSTRAINT TRIGGER is not supported here because it is designed to be used only by pg_dump. */ {"CONVERSION", "SELECT pg_catalog.quote_ident(conname) FROM pg_catalog.pg_conversion WHERE substring(pg_catalog.quote_ident(conname),1,%d)='%s'"}, {"DATABASE", Query_for_list_of_databases}, {"DOMAIN", NULL, &Query_for_list_of_domains},