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

Commits on Oct 30, 2025

  1. Integrate addition of attributes for sequences with ALTER TABLE

    This is a process similar to CREATE OR REPLACE VIEW, where attributes
    are added to a sequence after the initial creation of its Relation.
    This gives more flexibility to sequence AMs, as these may want to force
    their own set of attributes to use when coupled with their computation
    methods and/or underlying table AM.
    michaelpq authored and Commitfest Bot committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    6dfe028 View commit details
    Browse the repository at this point in the history
  2. Refactor code for in-core "local" sequences

    This commit restructures the code of in-core sequences into a new set of
    files:
    - seqdesc.c is renamed to seqlocaldesc.c.
    - seqlocalxlog.c to the code in the WAL replay logic.
    - seqlocalam.c to store a set of routines called from sequence.c,
    finishing the separation between the main sequence logic and the in-core
    sequences.
    - seqlocalam.h to store the AM-specific structures and routine related
    to the in-core sequences.
    
    WAL records are renamed to "SequenceLocal" with structures, variables
    and file structures mapping to that.
    michaelpq authored and Commitfest Bot committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    1744587 View commit details
    Browse the repository at this point in the history
  3. Sequence access methods - backend support

    The "seqlocal" sequence AM is now plugged in as a handler in the
    relcache, and a set of callbacks in sequenceam.h.
    michaelpq authored and Commitfest Bot committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    91c97f1 View commit details
    Browse the repository at this point in the history
  4. Sequence access methods - dump/restore support

    michaelpq authored and Commitfest Bot committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    06243f2 View commit details
    Browse the repository at this point in the history
  5. Sequence access methods - core documentation

    michaelpq authored and Commitfest Bot committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    5a5775b View commit details
    Browse the repository at this point in the history
  6. Refactor logic for page manipulations of sequence AMs

    This introduces a new header, named sequence_page.h, aimed at providing
    helper macros that can be used with sequence implementations that rely
    on a single on-disk page.  The in-core "local" sequence AM is one case.
    A follow-up patch will rely on that to make its implementation simpler.
    michaelpq authored and Commitfest Bot committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    5309ae4 View commit details
    Browse the repository at this point in the history
  7. snowflake: Add sequence AM based on it

    This includes documentation and a basic implementation, ready to use.
    michaelpq authored and Commitfest Bot committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    8d97418 View commit details
    Browse the repository at this point in the history
  8. [CF 4677] v23 - Sequence Access Methods, round two

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/4677
    
    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): Michael Paquier
    Commitfest Bot committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    e45e237 View commit details
    Browse the repository at this point in the history
Loading