-
Notifications
You must be signed in to change notification settings - Fork 2
Comparing changes
Open a pull request
base repository: postgresql-cfbot/postgresql
base: cf/4677~1
head repository: postgresql-cfbot/postgresql
compare: cf/4677
- 8 commits
- 82 files changed
- 2 contributors
Commits on Aug 9, 2025
-
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.
Configuration menu - View commit details
-
Copy full SHA for c087d33 - Browse repository at this point
Copy the full SHA c087d33View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 504d87a - Browse repository at this point
Copy the full SHA 504d87aView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for f73c644 - Browse repository at this point
Copy the full SHA f73c644View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 22034fe - Browse repository at this point
Copy the full SHA 22034feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a80cd4 - Browse repository at this point
Copy the full SHA 9a80cd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 799fd67 - Browse repository at this point
Copy the full SHA 799fd67View commit details -
snowflake: Add sequence AM based on it
This includes documentation and a basic implementation, though this is in a very early stage.
Configuration menu - View commit details
-
Copy full SHA for 1b0c374 - Browse repository at this point
Copy the full SHA 1b0c374View commit details -
[CF 4677] v15 - 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 committedAug 9, 2025 Configuration menu - View commit details
-
Copy full SHA for 7048098 - Browse repository at this point
Copy the full SHA 7048098View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff cf/4677~1...cf/4677