forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1b00dd0
committed
Improve minor error-handling details in pltcl.
Don't ask Tcl_GetIndexFromObj to store an error message in the interpreterin cases where the next argument isn't necessarily one of the optionswe're asking it to check for. At best that is a waste of time, and atworst it might cause an inappropriate error result to get left behind.Be sure to check for valid syntax (ie, no command arguments) inpltcl_SPI_lastoid.Extracted from a larger and otherwise-unrelated patch.Jim NasbyPatch: <f2134651-14b3-efeb-f274-c69f3c084031@BlueTreble.com>1 parent34ca090 commit1b00dd0
1 file changed
+11
-2
lines changedLines changed: 11 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2138 | 2138 |
| |
2139 | 2139 |
| |
2140 | 2140 |
| |
2141 |
| - | |
| 2141 | + | |
2142 | 2142 |
| |
2143 | 2143 |
| |
2144 | 2144 |
| |
| |||
2484 | 2484 |
| |
2485 | 2485 |
| |
2486 | 2486 |
| |
2487 |
| - | |
| 2487 | + | |
2488 | 2488 |
| |
2489 | 2489 |
| |
2490 | 2490 |
| |
| |||
2667 | 2667 |
| |
2668 | 2668 |
| |
2669 | 2669 |
| |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
2670 | 2679 |
| |
2671 | 2680 |
| |
2672 | 2681 |
| |
|
0 commit comments
Comments
(0)