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/5533~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/5533
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Apr 3, 2025

  1. Allow "COPY table TO" command to copy rows from materialized views.

    Previously, "COPY table TO" command worked only with plain tables and
    did not support materialized views, even when they were populated and
    had physical storage. To copy rows from materialized views,
    "COPY (query) TO" command had to be used, instead.
    
    This commit extends "COPY table TO" to support populated materialized
    views directly, improving usability and performance, as "COPY table TO"
    is generally faster than "COPY (query) TO". Note that copying from
    unpopulated materialized views will still result in an error.
    
    Author: jian he <jian.universality@gmail.com>
    Reviewed-by: Kirill Reshke <reshkekirill@gmail.com>
    Reviewed-by: David G. Johnston <david.g.johnston@gmail.com>
    Reviewed-by: Vignesh C <vignesh21@gmail.com>
    Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
    Discussion: https://postgr.es/m/CACJufxHVxnyRYy67hiPePNCPwVBMzhTQ6FaL9_Te5On9udG=yg@mail.gmail.com
    MasaoFujii authored and Commitfest Bot committed Apr 3, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    20bca36 View commit details
  2. [CF 5533] v4 - COPY materialized view TO

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5533
    
    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/a95a1fb6-e58a-4b78-9e46-d7fcae66033a@oss.nttdata.com
    Author(s): Jian He
    Commitfest Bot committed Apr 3, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c7f4e4c View commit details
Loading