forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit46d665b
committed
Allow psql's other uses of simple_prompt() to be interrupted by ^C.
This fills in the work left un-done by5f11482. \prompt canbe canceled out of now, and so can password prompts issued during\connect. (We don't need to do anything for password promptsissued during startup, because we aren't yet trapping SIGINTat that point.)Nathan BossartDiscussion:https://postgr.es/m/747443.1635536754@sss.pgh.pa.us1 parent3b34645 commit46d665b
3 files changed
+43
-11
lines changedLines changed: 35 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2132 | 2132 |
| |
2133 | 2133 |
| |
2134 | 2134 |
| |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
2135 | 2141 |
| |
2136 | 2142 |
| |
2137 | 2143 |
| |
| |||
2143 | 2149 |
| |
2144 | 2150 |
| |
2145 | 2151 |
| |
2146 |
| - | |
| 2152 | + | |
2147 | 2153 |
| |
2148 | 2154 |
| |
2149 | 2155 |
| |
| |||
2161 | 2167 |
| |
2162 | 2168 |
| |
2163 | 2169 |
| |
2164 |
| - | |
2165 |
| - | |
| 2170 | + | |
| 2171 | + | |
2166 | 2172 |
| |
2167 | 2173 |
| |
2168 | 2174 |
| |
| |||
3058 | 3064 |
| |
3059 | 3065 |
| |
3060 | 3066 |
| |
3061 |
| - | |
3062 |
| - | |
| 3067 | + | |
| 3068 | + | |
| 3069 | + | |
| 3070 | + | |
3063 | 3071 |
| |
3064 | 3072 |
| |
3065 |
| - | |
| 3073 | + | |
3066 | 3074 |
| |
3067 | 3075 |
| |
| 3076 | + | |
| 3077 | + | |
| 3078 | + | |
| 3079 | + | |
| 3080 | + | |
| 3081 | + | |
3068 | 3082 |
| |
3069 | 3083 |
| |
3070 |
| - | |
| 3084 | + | |
3071 | 3085 |
| |
3072 | 3086 |
| |
3073 | 3087 |
| |
3074 | 3088 |
| |
3075 | 3089 |
| |
3076 |
| - | |
| 3090 | + | |
3077 | 3091 |
| |
3078 | 3092 |
| |
| 3093 | + | |
| 3094 | + | |
| 3095 | + | |
| 3096 | + | |
3079 | 3097 |
| |
3080 | 3098 |
| |
3081 | 3099 |
| |
| |||
3331 | 3349 |
| |
3332 | 3350 |
| |
3333 | 3351 |
| |
| 3352 | + | |
| 3353 | + | |
3334 | 3354 |
| |
3335 | 3355 |
| |
3336 | 3356 |
| |
3337 | 3357 |
| |
3338 | 3358 |
| |
3339 | 3359 |
| |
3340 | 3360 |
| |
3341 |
| - | |
| 3361 | + | |
| 3362 | + | |
| 3363 | + | |
3342 | 3364 |
| |
3343 | 3365 |
| |
3344 | 3366 |
| |
| |||
3417 | 3439 |
| |
3418 | 3440 |
| |
3419 | 3441 |
| |
| 3442 | + | |
| 3443 | + | |
3420 | 3444 |
| |
3421 | 3445 |
| |
3422 | 3446 |
| |
3423 | 3447 |
| |
3424 |
| - | |
| 3448 | + | |
3425 | 3449 |
| |
3426 | 3450 |
| |
| 3451 | + | |
3427 | 3452 |
| |
3428 | 3453 |
| |
3429 | 3454 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
239 | 239 |
| |
240 | 240 |
| |
241 | 241 |
| |
242 |
| - | |
| 242 | + | |
| 243 | + | |
243 | 244 |
| |
244 | 245 |
| |
245 | 246 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
164 | 164 |
| |
165 | 165 |
| |
166 | 166 |
| |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
167 | 173 |
| |
168 | 174 |
| |
169 | 175 |
| |
|
0 commit comments
Comments
(0)