forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9c7dd35
committed
Fix opclass/opfamily identity strings
The original representation uses "opcname for amname", which is goodenough; but if we replace "for" with "using", we can apply the returnedidentity directly in a DROP command, as inDROP OPERATOR CLASS opcname USING amnameThis slightly simplifies code using object identities to programaticallyexecute commands on these kinds of objects.Note backwards-incompatible change:The previous representation dates back to 9.3 when object identitieswere introduced by commitf8348ea, but we don't want to change thebehavior on released branches unnecessarily and so this is notbackpatched.1 parent0d90679 commit9c7dd35
File tree
2 files changed
+4
-4
lines changed- src
- backend/catalog
- test/regress/expected
2 files changed
+4
-4
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3533 | 3533 |
| |
3534 | 3534 |
| |
3535 | 3535 |
| |
3536 |
| - | |
| 3536 | + | |
3537 | 3537 |
| |
3538 | 3538 |
| |
3539 | 3539 |
| |
| |||
4070 | 4070 |
| |
4071 | 4071 |
| |
4072 | 4072 |
| |
4073 |
| - | |
| 4073 | + | |
4074 | 4074 |
| |
4075 | 4075 |
| |
4076 | 4076 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
373 | 373 |
| |
374 | 374 |
| |
375 | 375 |
| |
376 |
| - | |
| 376 | + | |
377 | 377 |
| |
378 | 378 |
| |
379 | 379 |
| |
380 |
| - | |
| 380 | + | |
381 | 381 |
| |
382 | 382 |
| |
383 | 383 |
| |
|
0 commit comments
Comments
(0)