forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3769e11
committed
Make test_target_session_attrs more robust against connection failure.
Feed the desired command to psql via "-c" not stdin, else Perlmay complain that it can't push stdin to an already-failed psqlprocess, as seen in intermittent buildfarm failures.Make some minor cosmetic improvements while at it.Before commitee28cac we had no tests here that expected failureto connect, so there seems no need for a back-patch.Discussion:https://postgr.es/m/CALDaNm2mo8YED=M2ZJKGf1U3F3mw6SaQuLXWCK8rZP6sECYcrA@mail.gmail.com1 parentf06b1c5 commit3769e11
1 file changed
+14
-11
lines changedLines changed: 14 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
72 |
| - | |
| 71 | + | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
87 |
| - | |
| 87 | + | |
| 88 | + | |
88 | 89 |
| |
89 | 90 |
| |
90 | 91 |
| |
| |||
93 | 94 |
| |
94 | 95 |
| |
95 | 96 |
| |
96 |
| - | |
97 |
| - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
98 | 101 |
| |
99 |
| - | |
100 |
| - | |
| 102 | + | |
| 103 | + | |
101 | 104 |
| |
102 | 105 |
| |
103 |
| - | |
| 106 | + | |
104 | 107 |
| |
105 |
| - | |
| 108 | + | |
106 | 109 |
| |
107 | 110 |
| |
108 | 111 |
| |
| |||
112 | 115 |
| |
113 | 116 |
| |
114 | 117 |
| |
115 |
| - | |
| 118 | + | |
116 | 119 |
| |
117 |
| - | |
| 120 | + | |
118 | 121 |
| |
119 | 122 |
| |
120 | 123 |
| |
|
0 commit comments
Comments
(0)