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

Commits on Aug 10, 2025

  1. New RLS tests to test policies applied by command type.

    The existing RLS tests focus on the outcome of various testing
    scenarios, rather than the exact policies applied. These new tests
    list out the policies applied for each command type, including the
    different paths through INSERT ... ON CONFLICT and MERGE.
    deanrasheed authored and Commitfest Bot committed Aug 10, 2025
    Configuration menu
    Copy the full SHA
    ed5d501 View commit details
    Browse the repository at this point in the history
  2. doc: Improve the "Policies Applied by Command Type" table.

    This table was missing MERGE ... THEN DELETE and some of the policies
    applied during INSERT ... ON CONFLICT and MERGE. Fix that, and try to
    improve readability by listing the various MERGE cases separately,
    rather than together with INSERT/UPDATE/DELETE.
    
    In addition, correct the paragraph above the table to note that an
    INSERT ... ON CONFLICT DO NOTHING/UPDATE checks all new rows against
    the INSERT policy expressions, regardless of whether the rows end up
    being inserted.
    deanrasheed authored and Commitfest Bot committed Aug 10, 2025
    Configuration menu
    Copy the full SHA
    0db84bf View commit details
    Browse the repository at this point in the history
  3. [CF 5851] v1 - Docs and tests for RLS policies applied by command type

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5851
    
    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/CAEZATCWqnfeChjK=n1V_dYZT4rt4mnq+ybf9c0qXDYTVMsy8pg@mail.gmail.com
    Author(s): Dean Rasheed
    Commitfest Bot committed Aug 10, 2025
    Configuration menu
    Copy the full SHA
    6b22571 View commit details
    Browse the repository at this point in the history
Loading