forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5b29e6b
committed
In PL/Tcl tests, don't choke if optional error fields are missing.
This fixes a portability issue introduced by commit961bed0: with acompiler that doesn't support PG_FUNCNAME_MACRO, the "funcname" field oferrorCode won't be provided, leading to a failure of the unset command.I added -nocomplain to the unset commands for filename and lineno too, justin case, though I know of no platform that wouldn't populate those fields.(BTW, -nocomplain is new in Tcl 8.4, but fortunately we dropped supportfor pre-8.4 Tcl some time ago.)Per buildfarm member pademelon.1 parent7f5b043 commit5b29e6b
2 files changed
+6
-6
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
608 | 608 |
| |
609 | 609 |
| |
610 | 610 |
| |
611 |
| - | |
612 |
| - | |
613 |
| - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
614 | 614 |
| |
615 | 615 |
| |
616 | 616 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
653 | 653 |
| |
654 | 654 |
| |
655 | 655 |
| |
656 |
| - | |
657 |
| - | |
658 |
| - | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
659 | 659 |
| |
660 | 660 |
| |
661 | 661 |
| |
|
0 commit comments
Comments
(0)