forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2c20ba1
committed
Tweak find_composite_type_dependencies API a bit more.
Per discussion with Noah Misch, the previous coding, introduced bymy commit65377e0 on 2011-02-06,was really an abuse of RELKIND_COMPOSITE_TYPE, since the caller intypecmds.c is actually passing the name of a domain. So go backhaving a type name argument, but make the first argument a Relationrather than just a string so we can tell whether it's a table ora foreign table and emit the proper error message.1 parent61cf7bc commit2c20ba1
File tree
3 files changed
+16
-14
lines changed- src
- backend/commands
- include/commands
3 files changed
+16
-14
lines changedLines changed: 13 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3422 | 3422 |
| |
3423 | 3423 |
| |
3424 | 3424 |
| |
3425 |
| - | |
3426 |
| - | |
| 3425 | + | |
3427 | 3426 |
| |
3428 | 3427 |
| |
3429 | 3428 |
| |
| |||
3891 | 3890 |
| |
3892 | 3891 |
| |
3893 | 3892 |
| |
3894 |
| - | |
3895 |
| - | |
| 3893 | + | |
| 3894 | + | |
3896 | 3895 |
| |
3897 | 3896 |
| |
3898 | 3897 |
| |
| |||
3936 | 3935 |
| |
3937 | 3936 |
| |
3938 | 3937 |
| |
3939 |
| - | |
| 3938 | + | |
| 3939 | + | |
| 3940 | + | |
3940 | 3941 |
| |
3941 |
| - | |
| 3942 | + | |
3942 | 3943 |
| |
3943 | 3944 |
| |
3944 | 3945 |
| |
| 3946 | + | |
3945 | 3947 |
| |
3946 | 3948 |
| |
3947 | 3949 |
| |
3948 |
| - | |
| 3950 | + | |
| 3951 | + | |
3949 | 3952 |
| |
3950 | 3953 |
| |
3951 | 3954 |
| |
| |||
3956 | 3959 |
| |
3957 | 3960 |
| |
3958 | 3961 |
| |
3959 |
| - | |
| 3962 | + | |
3960 | 3963 |
| |
3961 | 3964 |
| |
3962 | 3965 |
| |
| |||
3972 | 3975 |
| |
3973 | 3976 |
| |
3974 | 3977 |
| |
3975 |
| - | |
| 3978 | + | |
3976 | 3979 |
| |
3977 | 3980 |
| |
3978 | 3981 |
| |
| |||
6573 | 6576 |
| |
6574 | 6577 |
| |
6575 | 6578 |
| |
6576 |
| - | |
6577 |
| - | |
6578 |
| - | |
| 6579 | + | |
6579 | 6580 |
| |
6580 | 6581 |
| |
6581 | 6582 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2196 | 2196 |
| |
2197 | 2197 |
| |
2198 | 2198 |
| |
2199 |
| - | |
| 2199 | + | |
2200 | 2200 |
| |
2201 | 2201 |
| |
2202 | 2202 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
| 57 | + | |
57 | 58 |
| |
58 | 59 |
| |
59 | 60 |
| |
|
0 commit comments
Comments
(0)