Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5800~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5800
Choose a head ref
  • 4 commits
  • 1 file changed
  • 2 contributors

Commits on Aug 9, 2025

  1. Refactor match_previous_words() to remove direct use of rl_completion…

    …_matches()
    
    Most tab completions in match_previous_words() use COMPLETE_WITH* macros,
    which wrap rl_completion_matches(). However, some direct calls to
    rl_completion_matches() still remained.
    
    This commit replaces the remaining direct calls with the new macro,
    COMPLETE_WITH_FILES or COMPLETE_WITH_GENERATOR, for improved consistency and
    readability.
    yugo-n authored and Commitfest Bot committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    3bded19 View commit details
    Browse the repository at this point in the history
  2. Add tab completion support for COPY ... TO/FROM STDIN, STDOUT, and PR…

    …OGRAM
    
    Previously, tab completion for COPY only suggested filenames after TO or
    FROM, even though STDIN, STDOUT, and PROGRAM are also valid options.
    This commit extends the completion to include these keywords. After PROGRAM,
    filename suggestions are shown as potential command names.
    
    To support this, a new macro COMPLETE_WITH_FILES_PLUS is introduced, allowing
    both literal keywords and filenames to be included in the completion results.
    yugo-n authored and Commitfest Bot committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    0234668 View commit details
    Browse the repository at this point in the history
  3. Improve tab completion for COPY option lists

    Previously, only the first option in a parenthesized list was suggested
    during tab completion. Subsequent options after a comma were not completed.
    This commit enhances the behavior to suggest valid options after each comma.
    yugo-n authored and Commitfest Bot committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    7a41383 View commit details
    Browse the repository at this point in the history
  4. [CF 5800] v5 - psql: tab-completion support for COPY ... TO/FROM STDI…

    …N, STDOUT, and PROGRAM
    
    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5800
    
    The branch will be overwritten each time a new patch version is posted to
    the thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Patch(es): https://www.postgresql.org/message-id/[email protected]
    Author(s): Yugo Nagata
    Commitfest Bot committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    60e079f View commit details
    Browse the repository at this point in the history
Loading