Commit 85d08b8
committed
Band-aid new postgres_fdw test case to remove error text dependency.
Buildfarm member lorikeet is still failing the test from commit
32a9c0b, but now it's down to the should-have-foreseen-it problem
that the error message isn't what the expected-output file expects.
Let's see if we can get stable results by printing just the SQLSTATE.
I believe we'll reliably see ERRCODE_CONNECTION_FAILURE, since
pgfdw_report_error() will report that for any libpq-originated error.
There may be a better way to do this, but I'd like to get the
buildfarm back to green before we discuss further improvements.
Discussion: https://postgr.es/m/E1kPc9v-0005L4-2l@gemulon.postgresql.org
Discussion: https://postgr.es/m/2621622.1602184554@sss.pgh.pa.us1 parent eeb01eb commit 85d08b8
File tree
2 files changed
+7
-4
lines changed- contrib/postgres_fdw
- expected
- sql
2 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9025 | 9025 | | |
9026 | 9026 | | |
9027 | 9027 | | |
| 9028 | + | |
9028 | 9029 | | |
9029 | 9030 | | |
| 9031 | + | |
9030 | 9032 | | |
9031 | | - | |
9032 | | - | |
9033 | | - | |
9034 | | - | |
| 9033 | + | |
| 9034 | + | |
9035 | 9035 | | |
9036 | 9036 | | |
9037 | 9037 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2687 | 2687 | | |
2688 | 2688 | | |
2689 | 2689 | | |
| 2690 | + | |
2690 | 2691 | | |
2691 | 2692 | | |
| 2693 | + | |
2692 | 2694 | | |
| 2695 | + | |
2693 | 2696 | | |
2694 | 2697 | | |
2695 | 2698 | | |
| |||
0 commit comments