Skip to content

Commit b774ad4

Browse files
Add tab completion for REJECT_LIMIT option.
This addresses an oversight in commit 4ac2a9b, which introduced the REJECT_LIMIT option to the COPY command. Author: Atsushi Torikoshi <torikoshia@oss.nttdata.com> Reviewed-by: Yugo Nagata <nagata@sraoss.co.jp> Discussion: https://postgr.es/m/ac23e824d1d602f113a89c91ee56fb23@oss.nttdata.com
1 parent 7c319f5 commit b774ad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/psql/tab-complete.in.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3289,7 +3289,7 @@ match_previous_words(int pattern_id,
32893289
COMPLETE_WITH("FORMAT", "FREEZE", "DELIMITER", "NULL",
32903290
"HEADER", "QUOTE", "ESCAPE", "FORCE_QUOTE",
32913291
"FORCE_NOT_NULL", "FORCE_NULL", "ENCODING", "DEFAULT",
3292-
"ON_ERROR", "LOG_VERBOSITY");
3292+
"ON_ERROR", "LOG_VERBOSITY", "REJECT_LIMIT");
32933293

32943294
/* Complete COPY <sth> FROM|TO filename WITH (FORMAT */
32953295
else if (Matches("COPY|\\copy", MatchAny, "FROM|TO", MatchAny, "WITH", "(", "FORMAT"))

0 commit comments

Comments
 (0)