diff options
author | Masahiko Sawada | 2025-07-09 12:45:26 +0000 |
---|---|---|
committer | Masahiko Sawada | 2025-07-09 12:45:26 +0000 |
commit | d69836b13c467fb64663f8d1f6d0ed976cc7824e (patch) | |
tree | e6d06a36843c24a9d81c9bb237814422d56cea86 /contrib/postgres_fdw/option.c | |
parent | abb517d619c35cedb13e0c593dcd4cc4219f3aff (diff) |
Fix tab-completion for COPY and \copy options.REL_16_STABLE
Commit c273d9d8ce4 reworked tab-completion of COPY and \copy in psql
and added support for completing options within WITH clauses. However,
the same COPY options were suggested for both COPY TO and COPY FROM
commands, even though some options are only valid for one or the
other.
This commit separates the COPY options for COPY FROM and COPY TO
commands to provide more accurate auto-completion suggestions.
Back-patch to v14 where tab-completion for COPY and \copy options
within WITH clauses was first supported.
Author: Atsushi Torikoshi <[email protected]>
Reviewed-by: Yugo Nagata <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 14
Diffstat (limited to 'contrib/postgres_fdw/option.c')
0 files changed, 0 insertions, 0 deletions