postgresql/src/bin
Bruce Momjian 17aae41afd Add tsearch tab completion support:
* adds a few missing words to some commands (like adding GIN as a valid
index type or OWNED BY for ALTER SEQUENCE,...)

* support for ALTER TABLE foo ENABLE/DISABLE REPLICA TRIGGER/RULE

* autocomplete CREATE DATABASE foo TEMPLATE (mostly done to prevent
conflicts with the TEMPLATE keyword for text search)

* support for ALTER/CREATE/DROP TEXT SEARCH as well as COMMENT ON TEXT
SEARCH and the corresponding psql backslash commands.
This proved a little more difficult than expected due to the fact that
words_after_create[] is used for two purposes - one is to provide a list
of words that follow immediatly after CREATE (or DROP) and the other
purpose is to use it for autocompleting anywhere in the statement if the
word in that struct is found with a query.
Since TEXT SEARCH CONFIGURATION|DICTIONARY|TEMPLATE|PARSER results in 3
words instead of one (as all the other words in that list are) I added a
flag to the struct to tell create_command_generator() to skip that entry
 for autocompleting immediatly after CREATE which feels like a dirty
hack (but that holds true for a lot of code in tab-complete.c).


Stefan Kaltenbrunner
2007-09-14 04:25:24 +00:00
..
initdb Tsearch2 functionality migrates to core. The bulk of this work is by 2007-08-21 01:11:32 +00:00
ipcclean Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
pg_config Make some messages more consistent 2007-05-31 15:13:06 +00:00
pg_controldata Decouple the values of TOAST_TUPLE_THRESHOLD and TOAST_MAX_CHUNK_SIZE. 2007-04-03 04:14:26 +00:00
pg_ctl Silence compile warning on win32, per Stefan and Buildfarm. 2007-07-12 18:15:52 +00:00
pg_dump Implement function-local GUC parameter settings, as per recent discussion. 2007-09-03 00:39:26 +00:00
pg_resetxlog Suppress Sun Studio warnings, per Stefan. 2007-07-12 21:27:09 +00:00
pgevent Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
psql Add tsearch tab completion support: 2007-09-14 04:25:24 +00:00
scripts Fix unintended change of output format for createlang/droplang -l. Missed 2007-08-10 00:39:31 +00:00
Makefile Replace useless uses of := by = in makefiles. 2007-02-09 15:56:00 +00:00