- Notifications
You must be signed in to change notification settings - Fork5
Commitd7ee82e
committed
Add SQL-callable pg_get_object_address
This allows access to get_object_address from SQL, which is useful toobtain OID addressing information from data equivalent to that emittedby the parser. This is necessary infrastructure of a project to letreplication systems propagate object dropping events to remote servers,where the schema might be different than the server originating theDROP.This patch also adds support for OBJECT_DEFAULT to get_object_address;that is, it is now possible to refer to a column's default value.Catalog version bumped due to the new function.Reviewed by Stephen Frost, Heikki Linnakangas, Robert Haas, AndresFreund, Abhijit Menon-Sen, Adam Brightwell.1 parent1826987 commitd7ee82e
File tree
13 files changed
+1059
-18
lines changed- src
- backend
- catalog
- commands
- parser
- include
- catalog
- nodes
- parser
- utils
- test/regress
- expected
- sql
13 files changed
+1059
-18
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1055 | 1055 | | |
1056 | 1056 | | |
1057 | 1057 | | |
| 1058 | + | |
1058 | 1059 | | |
1059 | 1060 | | |
1060 | 1061 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
708 | | - | |
709 | | - | |
710 | | - | |
| 708 | + | |
| 709 | + | |
711 | 710 | | |
712 | | - | |
713 | | - | |
714 | | - | |
| 711 | + | |
| 712 | + | |
715 | 713 | | |
716 | 714 | | |
717 | 715 | | |
| |||
720 | 718 | | |
721 | 719 | | |
722 | 720 | | |
723 | | - | |
724 | 721 | | |
725 | 722 | | |
726 | 723 | | |
| |||
779 | 776 | | |
780 | 777 | | |
781 | 778 | | |
| 779 | + | |
782 | 780 | | |
783 | 781 | | |
784 | 782 | | |
785 | 783 | | |
786 | 784 | | |
787 | 785 | | |
788 | 786 | | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
789 | 812 | | |
790 | 813 | | |
791 | 814 | | |
| |||
808 | 831 | | |
809 | 832 | | |
810 | 833 | | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
818 | | - | |
819 | | - | |
820 | 834 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3036 | 3036 | | |
3037 | 3037 | | |
3038 | 3038 | | |
| 3039 | + | |
| 3040 | + | |
| 3041 | + | |
3039 | 3042 | | |
3040 | 3043 | | |
3041 | 3044 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1185 | 1185 | | |
1186 | 1186 | | |
1187 | 1187 | | |
| 1188 | + | |
1188 | 1189 | | |
1189 | 1190 | | |
1190 | 1191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1201 | 1201 | | |
1202 | 1202 | | |
1203 | 1203 | | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
1204 | 1207 | | |
1205 | 1208 | | |
1206 | 1209 | | |
| |||
0 commit comments
Comments
(0)