forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3de4914
committed
Simplify null-element handling in extension_config_remove().
There's no point in asking deconstruct_array() for a null-flagsarray when we already checked the array has no nulls, and aren'tgoing to examine the output anyhow. Not asking for this outputshould make the code marginally faster, and it's also morerobust since if there somehow were nulls, deconstruct_array()would throw an error.Daniel GustafssonDiscussion:https://postgr.es/m/289FFB8B-7AAB-48B5-A497-6E0D41D7BA47@yesql.se1 parente3f005d commit3de4914
1 file changed
+4
-6
lines changedLines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2597 | 2597 |
| |
2598 | 2598 |
| |
2599 | 2599 |
| |
2600 |
| - | |
2601 | 2600 |
| |
2602 | 2601 |
| |
2603 | 2602 |
| |
| 2603 | + | |
2604 | 2604 |
| |
2605 |
| - | |
| 2605 | + | |
2606 | 2606 |
| |
2607 |
| - | |
2608 | 2607 |
| |
2609 | 2608 |
| |
2610 | 2609 |
| |
| |||
2644 | 2643 |
| |
2645 | 2644 |
| |
2646 | 2645 |
| |
2647 |
| - | |
2648 | 2646 |
| |
2649 | 2647 |
| |
2650 | 2648 |
| |
| 2649 | + | |
2651 | 2650 |
| |
2652 |
| - | |
| 2651 | + | |
2653 | 2652 |
| |
2654 |
| - | |
2655 | 2653 |
| |
2656 | 2654 |
| |
2657 | 2655 |
| |
|
0 commit comments
Comments
(0)