- Notifications
You must be signed in to change notification settings - Fork5.2k
Commite468ec0
committed
Add an assertion in get_object_address()
Some places declared a Relation before calling get_object_address()only to assert that the relation is NULL after the call.The new assertion allows passing NULL as the relation argument atthose places making the code cleaner and easier to understand.Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>Discussion:https://www.postgresql.org/message-id/ZzG34eNrT83W/Orz@ip-10-97-1-34.eu-west-3.compute.internal1 parent818119a commite468ec0
2 files changed
+11
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
899 | | - | |
| 899 | + | |
| 900 | + | |
900 | 901 | | |
901 | 902 | | |
902 | 903 | | |
| |||
1204 | 1205 | | |
1205 | 1206 | | |
1206 | 1207 | | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
1207 | 1211 | | |
1208 | | - | |
| 1212 | + | |
| 1213 | + | |
1209 | 1214 | | |
1210 | 1215 | | |
1211 | 1216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
425 | 424 | | |
426 | 425 | | |
427 | 426 | | |
428 | | - | |
| 427 | + | |
429 | 428 | | |
430 | | - | |
431 | 429 | | |
432 | 430 | | |
433 | 431 | | |
| |||
482 | 480 | | |
483 | 481 | | |
484 | 482 | | |
485 | | - | |
486 | | - | |
| 483 | + | |
487 | 484 | | |
488 | 485 | | |
489 | 486 | | |
| |||
563 | 560 | | |
564 | 561 | | |
565 | 562 | | |
566 | | - | |
567 | 563 | | |
568 | 564 | | |
569 | 565 | | |
570 | 566 | | |
571 | 567 | | |
572 | | - | |
| 568 | + | |
573 | 569 | | |
574 | 570 | | |
575 | | - | |
576 | 571 | | |
577 | 572 | | |
578 | 573 | | |
| |||
876 | 871 | | |
877 | 872 | | |
878 | 873 | | |
879 | | - | |
880 | 874 | | |
881 | 875 | | |
882 | 876 | | |
883 | 877 | | |
884 | | - | |
| 878 | + | |
885 | 879 | | |
886 | 880 | | |
887 | | - | |
888 | 881 | | |
889 | 882 | | |
890 | 883 | | |
| |||
0 commit comments
Comments
(0)