forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3beb945

Amit Kapila
Improve assertion in FindReplTupleInLocalRel().
The first part of the assertion verifying that the passed index must be PKor RI was incorrectly passing index relation instead of heap relation inGetRelationIdentityOrPK(). The assertion was not failing because thesecond part of the assertion which needs to be performed only when remoterelation has REPLICA_IDENTITY_FULL set was also incorrect.The change is not backpatched because the current coding doesn't lead toany failure.Reported-by: Dilip KumarAuthor: Amit KapilaReviewed-by: Vignesh CDiscussion:https://postgr.es/m/CAFiTN-tmguaT1DXbCC+ZomZg-oZLmU6BPhr0po7akQSG6vNJrg@mail.gmail.com1 parent65c310b commit3beb945
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2929 | 2929 |
| |
2930 | 2930 |
| |
2931 | 2931 |
| |
2932 |
| - | |
2933 |
| - | |
2934 |
| - | |
| 2932 | + | |
| 2933 | + | |
| 2934 | + | |
| 2935 | + | |
2935 | 2936 |
| |
2936 | 2937 |
| |
2937 | 2938 |
| |
|
0 commit comments
Comments
(0)