projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c319f5
)
Add tab completion for REJECT_LIMIT option.
author
Masahiko Sawada
Wed, 11 Jun 2025 18:44:25 +0000
(11:44 -0700)
committer
Masahiko Sawada
Wed, 11 Jun 2025 18:44:25 +0000
(11:44 -0700)
This addresses an oversight in commit
4ac2a9bec
, which introduced the
REJECT_LIMIT option to the COPY command.
Author: Atsushi Torikoshi
Reviewed-by: Yugo Nagata
Discussion: https://postgr.es/m/
ac23e824d1d602f113a89c91ee56fb23
@oss.nttdata.com
src/bin/psql/tab-complete.in.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/tab-complete.in.c
b/src/bin/psql/tab-complete.in.c
index 620830feb9d759722cea47fb4f465e0838e01ac6..2c0b4f28c14dd6a3c63c9912f23ccc2c691ae406 100644
(file)
--- a/
src/bin/psql/tab-complete.in.c
+++ b/
src/bin/psql/tab-complete.in.c
@@
-3289,7
+3289,7
@@
match_previous_words(int pattern_id,
COMPLETE_WITH("FORMAT", "FREEZE", "DELIMITER", "NULL",
"HEADER", "QUOTE", "ESCAPE", "FORCE_QUOTE",
"FORCE_NOT_NULL", "FORCE_NULL", "ENCODING", "DEFAULT",
- "ON_ERROR", "LOG_VERBOSITY");
+ "ON_ERROR", "LOG_VERBOSITY"
, "REJECT_LIMIT"
);
/* Complete COPY
FROM|TO filename WITH (FORMAT */
else if (Matches("COPY|\\copy", MatchAny, "FROM|TO", MatchAny, "WITH", "(", "FORMAT"))