Hello

other very simple patch - enhance autocomplete to support CREATE OR
REPLACE FUNCTION statement

Regards

Pavel Stehule
*** ./src/bin/psql/tab-complete.c.orig	2012-02-19 20:05:05.000000000 +0100
--- ./src/bin/psql/tab-complete.c	2012-02-19 20:20:43.817202512 +0100
***************
*** 644,649 ****
--- 644,650 ----
  	{"INDEX", NULL, &Query_for_list_of_indexes},
  	{"OPERATOR", NULL, NULL},	/* Querying for this is probably not such a
  								 * good idea. */
+ 	{"OR REPLACE FUNCTION", NULL, &Query_for_list_of_functions},
  	{"OWNED", NULL, NULL, THING_NO_CREATE},		/* for DROP OWNED BY ... */
  	{"PARSER", Query_for_list_of_ts_parsers, NULL, THING_NO_SHOW},
  	{"ROLE", Query_for_list_of_roles},
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to