forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7b2ccc5
committed
Fix rule-detection code for MERGE.
Use the relation's rd_rules structure to test whether it has rules,rather than the relhasrules flag, which might be out of date.Reviewed by Tom Lane.Backpatch to 15, where MERGE was added.Discussion:https://postgr.es/m/CAEZATCVkBVZABfw71sYvkcPf6tarcOFST5Bc6AOi-LFT9YdccQ%40mail.gmail.com1 parentb1d0158 commit7b2ccc5
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
182 | 182 |
| |
183 | 183 |
| |
184 | 184 |
| |
185 |
| - | |
| 185 | + | |
| 186 | + | |
186 | 187 |
| |
187 | 188 |
| |
188 | 189 |
| |
|
0 commit comments
Comments
(0)