- Notifications
You must be signed in to change notification settings - Fork5
Commite472ce9
committed
Add integrity-checking functions to pg_visibility.
The new pg_check_visible() and pg_check_frozen() functions can be used toverify that the visibility map bits for a relation's data pages match theactual state of the tuples on those pages.Amit Kapila and Robert Haas, reviewed (in earlier versions) by AndresFreund. Additional testing help by Thomas Munro.1 parent38e9f90 commite472ce9
File tree
7 files changed
+376
-4
lines changed- contrib/pg_visibility
- doc/src/sgml
- src/tools/pgindent
7 files changed
+376
-4
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
|
Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + |
contrib/pg_visibility/pg_visibility--1.0.sqlrenamed tocontrib/pg_visibility/pg_visibility--1.1.sql
Lines changed: 16 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
47 | 60 |
| |
48 | 61 |
| |
49 | 62 |
| |
50 | 63 |
| |
51 | 64 |
| |
52 | 65 |
| |
| 66 | + | |
| 67 | + |
0 commit comments
Comments
(0)