-
Notifications
You must be signed in to change notification settings - Fork 5k
Comparing changes
Open a pull request
base repository: postgres/postgres
base: master@{1day}
head repository: postgres/postgres
compare: master
- 9 commits
- 16 files changed
- 6 contributors
Commits on Jun 26, 2025
-
pg_dump: include comments on valid not-null constraints, too
We were missing collecting comments for not-null constraints that are dumped inline with the table definition (i.e., valid ones), because they aren't represented by a separately dumpable object. Fix by creating separate TocEntries for the comments. Co-Authored-By: Jian He <[email protected]> Co-Authored-By: Álvaro Herrera <[email protected]> Reported-By: Fujii Masao <[email protected]> Reviewed-By: Fujii Masao <[email protected]> Discussion: https://postgr.es/m/[email protected]
Configuration menu - View commit details
-
Copy full SHA for 47fb875 - Browse repository at this point
Copy the full SHA 47fb875View commit details -
Álvaro Herrera committed
Jun 26, 2025 Configuration menu - View commit details
-
Copy full SHA for 48c80ab - Browse repository at this point
Copy the full SHA 48c80abView commit details -
Introduced by c2da1a5 Reported-by: Michael Paquier <[email protected]> Discussion: https://postgr.es/m/[email protected]
Álvaro Herrera committedJun 26, 2025 Configuration menu - View commit details
-
Copy full SHA for a3994ec - Browse repository at this point
Copy the full SHA a3994ecView commit details -
Simplify vacuum VM update logging counters
We can simplify the VM counters added in dc6acfd to lazy_vacuum_heap_page() and lazy_scan_new_or_empty(). We won't invoke lazy_vacuum_heap_page() unless there are dead line pointers, so we know the page can't be all-visible. In lazy_scan_new_or_empty(), we only update the VM if the page-level hint PD_ALL_VISIBLE is clear, and the VM bit cannot be set if the page level bit is clear because a subsequent page update would fail to clear the visibility map bit. Simplify the logic for determining which log counters to increment based on this knowledge. Doing so is worthwhile because the old logic was confusing and misguided. Author: Melanie Plageman <[email protected]> Reviewed-by: Nazir Bilal Yavuz <[email protected]> Reviewed-by: Masahiko Sawada <[email protected]> Discussion: https://postgr.es/m/flat/CAAKRu_a9w_n2mwY%3DG4LjfWTvRTJtjbfvnYAKi4WjO8QXHHrA0g%40mail.gmail.com
Configuration menu - View commit details
-
Copy full SHA for 060f420 - Browse repository at this point
Copy the full SHA 060f420View commit details -
Remove unused check in heap_xlog_insert()
8e03eb9 reverted the commit 39b66a9 which allowed freezing in the heap_insert() code path but forgot to remove the corresponding check in heap_xlog_insert(). This code is extraneous but not harmful. However, cleaning it up makes it very clear that, as of now, we do not support any freezing of pages in the heap_insert() path. Author: Melanie Plageman <[email protected]> Reviewed-by: Tomas Vondra <[email protected]> Discussion: https://postgr.es/m/flat/CAAKRu_Zp4Pi-t51OFWm1YZ-cctDfBhHCMZ%3DEx6PKxv0o8y2GvA%40mail.gmail.com Backpatch-through: 14
Configuration menu - View commit details
-
Copy full SHA for 483f724 - Browse repository at this point
Copy the full SHA 483f724View commit details -
Correct misleading error messages
Commit 7d6d2c4 dropped opcintype from the index AM strategy translation API. But some error messages about failed lookups still mentioned it, even though it was not used for the lookup. Fix by removing ipcintype from the error messages as well.
Configuration menu - View commit details
-
Copy full SHA for 95e12d4 - Browse repository at this point
Copy the full SHA 95e12d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fb3c38 - Browse repository at this point
Copy the full SHA 7fb3c38View commit details
Commits on Jun 27, 2025
-
Correct list of files in src/backend/lib/README
binaryheap.c and stringinfo.c have been moved to src/common/ by respectively 5af0263 and 26aaf97, and the README patched here still mentioned these two files as available in src/backend/lib/. Author: Aleksander Alekseev <[email protected]> Discussion: https://postgr.es/m/CAJ7c6TPg-=tC+fzq0tGTtmL7r79-aWeCmpwAyQiGu0N+sKGj8Q@mail.gmail.com
Configuration menu - View commit details
-
Copy full SHA for 94e2e15 - Browse repository at this point
Copy the full SHA 94e2e15View commit details -
Fix CheckPointReplicationSlots() with max_replication_slots == 0
ca307d5 made CheckPointReplicationSlots() unconditionally call ReplicationSlotsComputeRequiredLSN(). It causes an assertion trap when max_replication_slots equals 0. This commit makes CheckPointReplicationSlots() call ReplicationSlotsComputeRequiredLSN() only when at least one slot gets its last_saved_restart_lsn updated. That avoids an assert trap and also saves some cycles when no one slot has last_saved_restart_lsn updated. Based on ideas from Dilip Kumar <[email protected]> and Hayato Kuroda <[email protected]>. Reported-by: Zhijie Hou <[email protected]> Discussion: https://postgr.es/m/OS0PR01MB5716BB506AF934376FF3A8BB947BA%40OS0PR01MB5716.jpnprd01.prod.outlook.com
Configuration menu - View commit details
-
Copy full SHA for 7195c80 - Browse repository at this point
Copy the full SHA 7195c80View 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 master@{1day}...master