-
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 May 24, 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 747fcba - Browse repository at this point
Copy the full SHA 747fcbaView 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 9180209 - Browse repository at this point
Copy the full SHA 9180209View 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 e43ebff - Browse repository at this point
Copy the full SHA e43ebffView 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 165009a - Browse repository at this point
Copy the full SHA 165009aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4de36b1 - Browse repository at this point
Copy the full SHA 4de36b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b62a2d - Browse repository at this point
Copy the full SHA 5b62a2dView 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 d384c94 - Browse repository at this point
Copy the full SHA d384c94View commit details -
[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/aBFqE_esP5Zux7gP@paquier.xyz Author(s): Michael Paquier
Commitfest Bot committedMay 24, 2025 Configuration menu - View commit details
-
Copy full SHA for 50d5ded - Browse repository at this point
Copy the full SHA 50d5dedView 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