- Notifications
You must be signed in to change notification settings - Fork5.1k
Commitb93172c

Amit Kapila
Expose sequence page LSN via pg_get_sequence_data.
This patch enhances the pg_get_sequence_data function to include thepage-level LSN (Log Sequence Number) of the sequence. This additionalmetadata will be used by upcoming patches to support synchronizationof sequences during logical replication.By exposing the LSN, we enable more accurate tracking of sequencechanges, which is essential for maintaining consistency acrossreplicated nodes.Author: vignesh C <vignesh21@gmail.com>Reviewed-by: shveta malik <shveta.malik@gmail.com>Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>Discussion:https://www.postgresql.org/message-id/CAA4eK1LC+KJiAkSrpE_NwvNdidw9F2os7GERUeSxSKv71gXysQ@mail.gmail.com1 parent42c6b74 commitb93172c
File tree
5 files changed
+16
-10
lines changed- src
- backend/commands
- include/catalog
- test/regress
- expected
- sql
5 files changed
+16
-10
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| 48 | + | |
48 | 49 |
| |
49 | 50 |
| |
50 | 51 |
| |
| |||
1795 | 1796 |
| |
1796 | 1797 |
| |
1797 | 1798 |
| |
1798 |
| - | |
| 1799 | + | |
1799 | 1800 |
| |
1800 | 1801 |
| |
1801 | 1802 |
| |
1802 | 1803 |
| |
1803 | 1804 |
| |
1804 | 1805 |
| |
1805 | 1806 |
| |
1806 |
| - | |
| 1807 | + | |
1807 | 1808 |
| |
1808 | 1809 |
| |
1809 | 1810 |
| |
| |||
1818 | 1819 |
| |
1819 | 1820 |
| |
1820 | 1821 |
| |
| 1822 | + | |
| 1823 | + | |
1821 | 1824 |
| |
1822 | 1825 |
| |
1823 | 1826 |
| |
| |||
1833 | 1836 |
| |
1834 | 1837 |
| |
1835 | 1838 |
| |
| 1839 | + | |
1836 | 1840 |
| |
1837 | 1841 |
| |
| 1842 | + | |
1838 | 1843 |
| |
1839 | 1844 |
| |
1840 | 1845 |
| |
| 1846 | + | |
1841 | 1847 |
| |
1842 | 1848 |
| |
1843 | 1849 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
| 60 | + | |
61 | 61 |
| |
62 | 62 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3436 | 3436 |
| |
3437 | 3437 |
| |
3438 | 3438 |
| |
3439 |
| - | |
3440 |
| - | |
| 3439 | + | |
| 3440 | + | |
3441 | 3441 |
| |
3442 | 3442 |
| |
3443 | 3443 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
840 | 840 |
| |
841 | 841 |
| |
842 | 842 |
| |
843 |
| - | |
844 |
| - | |
845 |
| - | |
846 |
| - | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
847 | 847 |
| |
848 | 848 |
| |
849 | 849 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
414 | 414 |
| |
415 | 415 |
| |
416 | 416 |
| |
417 |
| - | |
| 417 | + | |
418 | 418 |
| |
419 | 419 |
|
0 commit comments
Comments
(0)