- Notifications
You must be signed in to change notification settings - Fork5.2k
Commit765a4c9
committed
Fix tab-completion for COPY and \copy options.
Commitc273d9d reworked tab-completion of COPY and \copy in psqland added support for completing options within WITH clauses. However,the same COPY options were suggested for both COPY TO and COPY FROMcommands, even though some options are only valid for one or theother.This commit separates the COPY options for COPY FROM and COPY TOcommands to provide more accurate auto-completion suggestions.Back-patch to v14 where tab-completion for COPY and \copy optionswithin WITH clauses was first supported.Author: Atsushi Torikoshi <torikoshia@oss.nttdata.com>Reviewed-by: Yugo Nagata <nagata@sraoss.co.jp>Discussion:https://postgr.es/m/079e7a2c801f252ae8d522b772790ed7@oss.nttdata.comBackpatch-through: 141 parent5d9e675 commit765a4c9
1 file changed
+22
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
1193 | 1206 | | |
1194 | 1207 | | |
1195 | 1208 | | |
| |||
3284 | 3297 | | |
3285 | 3298 | | |
3286 | 3299 | | |
3287 | | - | |
3288 | | - | |
3289 | | - | |
3290 | | - | |
3291 | | - | |
3292 | | - | |
| 3300 | + | |
| 3301 | + | |
| 3302 | + | |
| 3303 | + | |
| 3304 | + | |
| 3305 | + | |
| 3306 | + | |
3293 | 3307 | | |
3294 | 3308 | | |
3295 | 3309 | | |
3296 | 3310 | | |
3297 | 3311 | | |
3298 | 3312 | | |
3299 | | - | |
| 3313 | + | |
3300 | 3314 | | |
3301 | 3315 | | |
3302 | 3316 | | |
3303 | | - | |
| 3317 | + | |
3304 | 3318 | | |
3305 | 3319 | | |
3306 | 3320 | | |
| |||
0 commit comments
Comments
(0)