forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita571c7f
committed
Fix violations of CatalogTupleInsert/Update/Delete abstraction.
In commits2f5c9d9 andab02896 we invented an abstraction layerto insulate catalog manipulations from direct heap update calls.But evidently some patches that hadn't landed in-tree at that pointdidn't get the memo completely. Fix a couple of direct calls tosimple_heap_delete to use CatalogTupleDelete instead; these appearto have been added in commits7c4f524 and7b504eb. This change ispurely cosmetic ATM, but there's no point in having an abstraction layerif we allow random code to break it.Masahiko Sawada and Tom LaneDiscussion:https://postgr.es/m/CAD21AoDOPRSVcwbnCN3Y1n_68ATyTspsU6=ygtHz_uY0VcdZ8A@mail.gmail.com1 parentd3c3f2b commita571c7f
2 files changed
+3
-4
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
401 | 401 |
| |
402 | 402 |
| |
403 | 403 |
| |
404 |
| - | |
| 404 | + | |
405 | 405 |
| |
406 | 406 |
| |
407 | 407 |
| |
|
Lines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
301 | 301 |
| |
302 | 302 |
| |
303 | 303 |
| |
304 |
| - | |
305 |
| - | |
| 304 | + | |
306 | 305 |
| |
307 | 306 |
| |
308 | 307 |
| |
| |||
372 | 371 |
| |
373 | 372 |
| |
374 | 373 |
| |
375 |
| - | |
| 374 | + | |
376 | 375 |
| |
377 | 376 |
| |
378 | 377 |
| |
|
0 commit comments
Comments
(0)