Quick patch to fix the fact that the EXPLAIN ANALYZE VERBOSE is clobbering tab-completion for ANALYZE VERBOSE.
-- Greg Sabino Mullane g...@endpoint.com End Point Corporation PGP Key: 0x14964AC8
Index: tab-complete.c =================================================================== RCS file: /projects/cvsroot/pgsql/src/bin/psql/tab-complete.c,v retrieving revision 1.180 diff -c -r1.180 tab-complete.c *** tab-complete.c 24 Feb 2009 10:06:34 -0000 1.180 --- tab-complete.c 27 Mar 2009 01:29:06 -0000 *************** *** 1627,1633 **** else if (pg_strcasecmp(prev_wd, "VERBOSE") == 0 && pg_strcasecmp(prev3_wd, "VACUUM") != 0 && pg_strcasecmp(prev4_wd, "VACUUM") != 0 && ! (pg_strcasecmp(prev2_wd, "ANALYZE") == 0 || pg_strcasecmp(prev2_wd, "EXPLAIN") == 0)) { static const char *const list_EXPLAIN[] = --- 1627,1634 ---- else if (pg_strcasecmp(prev_wd, "VERBOSE") == 0 && pg_strcasecmp(prev3_wd, "VACUUM") != 0 && pg_strcasecmp(prev4_wd, "VACUUM") != 0 && ! ((pg_strcasecmp(prev2_wd, "ANALYZE") == 0 && ! pg_strcasecmp(prev3_wd, "EXPLAIN") == 0) || pg_strcasecmp(prev2_wd, "EXPLAIN") == 0)) { static const char *const list_EXPLAIN[] =
signature.asc
Description: OpenPGP digital signature