diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-01-25 18:23:10 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-01-25 18:23:10 +0000 |
commit | 1d1f425f8d4331ecf09512386880af0827cd6091 (patch) | |
tree | 538d3a13f05b8aa2b1b87bc67180fffd21bca790 /src | |
parent | e7dcfd05f3f0ac4c80d5bd26973a748230f9cbe1 (diff) | |
download | postgresql-1d1f425f8d4331ecf09512386880af0827cd6091.tar.gz postgresql-1d1f425f8d4331ecf09512386880af0827cd6091.zip |
Add note that PREPARE TRANSACTION is for transaction managers, not
regular applications. Also add a comment pointing out that tab-complition
for PREPARE TRANSACTION is missing on purpose.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/tab-complete.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index da2011074ba..cecd88d522a 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2010, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/tab-complete.c,v 1.191 2010/01/22 16:40:19 rhaas Exp $ + * $PostgreSQL: pgsql/src/bin/psql/tab-complete.c,v 1.192 2010/01/25 18:23:09 heikki Exp $ */ /*---------------------------------------------------------------------- @@ -1882,6 +1882,11 @@ psql_completion(char *text, int start, int end) COMPLETE_WITH_LIST(list_PREPARE); } +/* + * PREPARE TRANSACTION is missing on purpose. It's intended for transaction + * managers, not for manual use in interactive sessions. + */ + /* REASSIGN OWNED BY xxx TO yyy */ else if (pg_strcasecmp(prev_wd, "REASSIGN") == 0) COMPLETE_WITH_CONST("OWNED"); |