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
  • 82 files changed
  • 2 contributors

Commits on Apr 30, 2025

  1. Remove FormData_pg_sequence_data from init_params()/sequence.c

    init_params() sets up "last_value" and "is_called" for a sequence, based
    on the sequence properties in pg_sequences.  This simplifies the logic
    around log_cnt, which is reset to 0 when the metadata of a sequence is
    expected to start from afresh when its properties are updated.
    michaelpq authored and Commitfest Bot committed Apr 30, 2025
    Configuration menu
    Copy the full SHA
    7889f5e View commit details
    Browse the repository at this point in the history
  2. 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 Apr 30, 2025
    Configuration menu
    Copy the full SHA
    5fa8ed8 View commit details
    Browse the repository at this point in the history
  3. 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 Apr 30, 2025
    Configuration menu
    Copy the full SHA
    f6c267e View commit details
    Browse the repository at this point in the history
  4. 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 Apr 30, 2025
    Configuration menu
    Copy the full SHA
    50509bc View commit details
    Browse the repository at this point in the history
  5. Sequence access methods - dump/restore support

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

    michaelpq authored and Commitfest Bot committed Apr 30, 2025
    Configuration menu
    Copy the full SHA
    7019977 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, though this is
    in a very early stage.
    michaelpq authored and Commitfest Bot committed Apr 30, 2025
    Configuration menu
    Copy the full SHA
    56223d1 View commit details
    Browse the repository at this point in the history
  8. [CF 4677] v14 - 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 Apr 30, 2025
    Configuration menu
    Copy the full SHA
    4967ca5 View commit details
    Browse the repository at this point in the history
Loading