forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita2e35b5
committed
Change many routines to return ObjectAddress rather than OID
The changed routines are mostly those that can be directly called byProcessUtilitySlow; the intention is to make the affected objectinformation more precise, in support for future event trigger changes.Originally it was envisioned that the OID of the affected object wouldbe enough, and in most cases that is correct, but upon actuallyimplementing the event trigger changes it turned out that ObjectAddressis more widely useful.Additionally, some command execution routines grew an output argumentthat's an object address which provides further info about the executedcommand. To wit:* for ALTER DOMAIN / ADD CONSTRAINT, it corresponds to the address of the new constraint* for ALTER OBJECT / SET SCHEMA, it corresponds to the address of the schema that originally contained the object.* for ALTER EXTENSION {ADD, DROP} OBJECT, it corresponds to the address of the object added to or dropped from the extension.There's no user-visible change in this commit, and no functional changeeither.Discussion: 20150218213255.GC6717@tamriel.snowman.netReviewed-By: Stephen Frost, Andres Freund1 parent6f9d799 commita2e35b5
File tree
68 files changed
+840
-558
lines changed- src
- backend
- bootstrap
- catalog
- commands
- rewrite
- tcop
- include
- catalog
- commands
- rewrite
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
68 files changed
+840
-558
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
251 | 251 |
| |
252 | 252 |
| |
253 | 253 |
| |
254 |
| - | |
| 254 | + | |
| 255 | + | |
255 | 256 |
| |
256 | 257 |
| |
257 | 258 |
| |
|
Lines changed: 18 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
| |||
935 | 935 |
| |
936 | 936 |
| |
937 | 937 |
| |
938 |
| - | |
| 938 | + | |
939 | 939 |
| |
940 | 940 |
| |
941 | 941 |
| |
| |||
1006 | 1006 |
| |
1007 | 1007 |
| |
1008 | 1008 |
| |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
1009 | 1012 |
| |
1010 | 1013 |
| |
1011 | 1014 |
| |
| |||
1029 | 1032 |
| |
1030 | 1033 |
| |
1031 | 1034 |
| |
1032 |
| - | |
| 1035 | + | |
| 1036 | + | |
1033 | 1037 |
| |
1034 | 1038 |
| |
1035 | 1039 |
| |
1036 | 1040 |
| |
1037 | 1041 |
| |
1038 | 1042 |
| |
1039 | 1043 |
| |
| 1044 | + | |
1040 | 1045 |
| |
1041 | 1046 |
| |
1042 | 1047 |
| |
| |||
1187 | 1192 |
| |
1188 | 1193 |
| |
1189 | 1194 |
| |
1190 |
| - | |
1191 |
| - | |
1192 |
| - | |
1193 |
| - | |
1194 |
| - | |
1195 |
| - | |
1196 |
| - | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
1197 | 1205 |
| |
1198 | 1206 |
| |
1199 | 1207 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
531 | 531 |
| |
532 | 532 |
| |
533 | 533 |
| |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
534 | 540 |
| |
535 | 541 |
| |
536 | 542 |
| |
|
Lines changed: 27 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
| 46 | + | |
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
| |||
522 | 522 |
| |
523 | 523 |
| |
524 | 524 |
| |
525 |
| - | |
526 |
| - | |
527 |
| - | |
528 |
| - | |
529 |
| - | |
530 |
| - | |
531 |
| - | |
532 |
| - | |
533 |
| - | |
534 |
| - | |
535 |
| - | |
536 |
| - | |
537 |
| - | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
538 | 538 |
| |
539 |
| - | |
540 |
| - | |
541 |
| - | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
542 | 542 |
| |
543 |
| - | |
544 |
| - | |
545 |
| - | |
546 |
| - | |
547 |
| - | |
548 |
| - | |
549 |
| - | |
550 |
| - | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
551 | 552 |
| |
552 | 553 |
| |
553 | 554 |
| |
| |||
599 | 600 |
| |
600 | 601 |
| |
601 | 602 |
| |
602 |
| - | |
603 |
| - | |
604 |
| - | |
605 | 603 |
| |
606 | 604 |
| |
607 | 605 |
| |
| |||
654 | 652 |
| |
655 | 653 |
| |
656 | 654 |
| |
657 |
| - | |
| 655 | + | |
658 | 656 |
| |
659 | 657 |
| |
660 | 658 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
144 |
| - | |
| 144 | + | |
145 | 145 |
| |
146 | 146 |
| |
147 | 147 |
| |
|
Lines changed: 8 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
64 |
| - | |
| 64 | + | |
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
| |||
325 | 325 |
| |
326 | 326 |
| |
327 | 327 |
| |
328 |
| - | |
| 328 | + | |
329 | 329 |
| |
330 | 330 |
| |
331 | 331 |
| |
| |||
352 | 352 |
| |
353 | 353 |
| |
354 | 354 |
| |
| 355 | + | |
355 | 356 |
| |
356 | 357 |
| |
357 | 358 |
| |
| |||
540 | 541 |
| |
541 | 542 |
| |
542 | 543 |
| |
543 |
| - | |
| 544 | + | |
544 | 545 |
| |
545 | 546 |
| |
546 | 547 |
| |
| |||
564 | 565 |
| |
565 | 566 |
| |
566 | 567 |
| |
567 |
| - | |
| 568 | + | |
568 | 569 |
| |
569 | 570 |
| |
570 | 571 |
| |
| |||
764 | 765 |
| |
765 | 766 |
| |
766 | 767 |
| |
767 |
| - | |
| 768 | + | |
768 | 769 |
| |
769 | 770 |
| |
770 | 771 |
| |
| |||
860 | 861 |
| |
861 | 862 |
| |
862 | 863 |
| |
| 864 | + | |
| 865 | + | |
863 | 866 |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
67 |
| - | |
| 67 | + | |
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
| |||
703 | 703 |
| |
704 | 704 |
| |
705 | 705 |
| |
706 |
| - | |
| 706 | + | |
707 | 707 |
| |
708 | 708 |
| |
709 | 709 |
| |
|
Lines changed: 13 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
66 | 67 |
| |
67 | 68 |
| |
68 | 69 |
| |
| |||
171 | 172 |
| |
172 | 173 |
| |
173 | 174 |
| |
| 175 | + | |
| 176 | + | |
174 | 177 |
| |
175 | 178 |
| |
176 | 179 |
| |
177 | 180 |
| |
178 | 181 |
| |
179 | 182 |
| |
180 |
| - | |
| 183 | + | |
181 | 184 |
| |
182 | 185 |
| |
183 | 186 |
| |
184 | 187 |
| |
185 | 188 |
| |
186 | 189 |
| |
187 | 190 |
| |
188 |
| - | |
189 |
| - | |
190 |
| - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
191 | 194 |
| |
192 | 195 |
| |
193 |
| - | |
| 196 | + | |
194 | 197 |
| |
195 | 198 |
| |
196 | 199 |
| |
| |||
233 | 236 |
| |
234 | 237 |
| |
235 | 238 |
| |
| 239 | + | |
236 | 240 |
| |
237 | 241 |
| |
238 | 242 |
| |
| |||
488 | 492 |
| |
489 | 493 |
| |
490 | 494 |
| |
| 495 | + | |
| 496 | + | |
491 | 497 |
| |
492 | 498 |
| |
493 | 499 |
| |
494 | 500 |
| |
495 | 501 |
| |
496 |
| - | |
| 502 | + | |
497 | 503 |
| |
498 | 504 |
| |
499 | 505 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
289 | 289 |
| |
290 | 290 |
| |
291 | 291 |
| |
292 |
| - | |
| 292 | + | |
| 293 | + | |
293 | 294 |
| |
294 | 295 |
| |
295 | 296 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
|
0 commit comments
Comments
(0)