-
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 Apr 30, 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 7889f5e - Browse repository at this point
Copy the full SHA 7889f5eView 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 5fa8ed8 - Browse repository at this point
Copy the full SHA 5fa8ed8View 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 f6c267e - Browse repository at this point
Copy the full SHA f6c267eView 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 50509bc - Browse repository at this point
Copy the full SHA 50509bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81d7fa6 - Browse repository at this point
Copy the full SHA 81d7fa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7019977 - Browse repository at this point
Copy the full SHA 7019977View 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 56223d1 - Browse repository at this point
Copy the full SHA 56223d1View 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/[email protected] Author(s): Michael Paquier
Commitfest Bot committedApr 30, 2025 Configuration menu - View commit details
-
Copy full SHA for 4967ca5 - Browse repository at this point
Copy the full SHA 4967ca5View 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