forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9926f85
committed
Cache NO ACTION foreign keys separately from RESTRICT foreign keys
Now that we generate different SQL for temporal NO ACTION vs RESTRICTforeign keys, we should cache their query plans with different keys.Since the key also includes the constraint oid, this shouldn't benecessary, but we have been seeing build farm failures that suggest wemight be sometimes using a cached NO ACTION plan to implement a RESTRICTconstraint.Author: Paul A. Jungwirth <pj@illuminatedcomputing.com>Discussion:https://www.postgresql.org/message-id/flat/CA+renyUApHgSZF9-nd-a0+OPGharLQLO=mDHcY4_qQ0+noCUVg@mail.gmail.com1 parenta925862 commit9926f85
1 file changed
+7
-6
lines changedLines changed: 7 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
| 77 | + | |
77 | 78 |
| |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
83 | 84 |
| |
84 | 85 |
| |
85 | 86 |
| |
| |||
752 | 753 |
| |
753 | 754 |
| |
754 | 755 |
| |
755 |
| - | |
| 756 | + | |
756 | 757 |
| |
757 | 758 |
| |
758 | 759 |
| |
|
0 commit comments
Comments
(0)