-
Notifications
You must be signed in to change notification settings - Fork 2
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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/5616~1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5616
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 7 commits
- 28 files changed
- 4 contributors
Commits on Mar 17, 2025
-
Expose f_smgr to extensions for manual implementation
There are various reasons why one would want to create their own implementation of a storage manager, among which are block-level compression, encryption and offloading to cold storage. This patch is a first patch that allows extensions to register their own SMgr. Note, however, that this SMgr is not yet used - only the first SMgr to register is used, and this is currently the md.c smgr. Future commits will include facilities to select an SMgr for each tablespace.
Configuration menu - View commit details
-
Copy full SHA for f67cb13 - Browse repository at this point
Copy the full SHA f67cb13View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2dcf70 - Browse repository at this point
Copy the full SHA c2dcf70View commit details -
Allows an extension to hook into CheckPointCreate().
Configuration menu - View commit details
-
Copy full SHA for f13653e - Browse repository at this point
Copy the full SHA f13653eView commit details -
fsync_checker is an extension which overrides the global storage manager to check for volatile relations, those which have been written but not synced to disk.
Configuration menu - View commit details
-
Copy full SHA for 87198ce - Browse repository at this point
Copy the full SHA 87198ceView commit details -
Refactor smgr API: mdcreate needs the old relfilelocator
With this change, mdcreate receives the old relfilelocator along with the new for operations that create a new file for an existing relation. This is required for tde_heap in pg_tde.
Configuration menu - View commit details
-
Copy full SHA for 790fe55 - Browse repository at this point
Copy the full SHA 790fe55View commit details -
SMGR GUC variable and chaining
The overall goal of this commit is to introduce a user interface to the previous SMGR patch. The idea is to allow a simple configuration for multiple "modificator" SMGRs similar to the fsync_checker in the original proposal. * Extensions should be able to declare a named lists of SMGR implementations, also specifying if the given SMGR is an "end" implementation for actual storage, or if it is a modifier implementation for some other purpose. * Users should be able to specify a list of SMGRs: possibly multiple modifiers, and one storage implementation at the end to configure how the storage manager is constructed. This commit introduces a new GUC variable, `smgr_chain`, which allows users to configure multiple SMGR implementations: it is a comma separated list, where the last entry most be a storage implementation, the others must be modifiers. The default value of this variable is "md". The internal storage manager API is also refactored to include an easy way for SMGR implementations to support proper chaining. Modifier SMGR implementations also only have to implement the functions they actually change, and can leave everything else as empty (NULL). And with this change we can make the functions of the md smgr static. The fsync example extension is also modified to match the new API.
Configuration menu - View commit details
-
Copy full SHA for 2b043f1 - Browse repository at this point
Copy the full SHA 2b043f1View commit details -
[CF 5616] v4 - Extensible storage manager API
This branch was automatically generated by a robot using patches from an email thread registered at: https://commitfest.postgresql.org/patch/5616 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): Andreas Karlsson, Anastasia Lubennikova, Matthias van de Meent, Tristan Partin
Commitfest Bot committedMar 17, 2025 Configuration menu - View commit details
-
Copy full SHA for 77587b5 - Browse repository at this point
Copy the full SHA 77587b5View commit details
Loading
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/5616~1...cf/5616