forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc4f7a6b
committed
Refactor one conversion of SQLSTATE to string in elog.c
unpack_sql_state() has been introduced ind46bc44 to refactor theunpacking of a SQLSTATE into a string, but it forgot one code path whensending error reports to clients that could make use of it. Thischanges the code to also use unpack_sql_state() there, simplifying a bitthe code.Author: Peter SmithDiscussion:https://postgr.es/m/CAHut+PuYituuD1-VVZUNcmCQuc3ZzZMPoO57POgm8tnXOkwJAA@mail.gmail.com1 parentde1d4fe commitc4f7a6b
1 file changed
+1
-12
lines changedLines changed: 1 addition & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3312 | 3312 |
| |
3313 | 3313 |
| |
3314 | 3314 |
| |
3315 |
| - | |
3316 |
| - | |
3317 | 3315 |
| |
3318 | 3316 |
| |
3319 | 3317 |
| |
| |||
3324 | 3322 |
| |
3325 | 3323 |
| |
3326 | 3324 |
| |
3327 |
| - | |
3328 |
| - | |
3329 |
| - | |
3330 |
| - | |
3331 |
| - | |
3332 |
| - | |
3333 |
| - | |
3334 |
| - | |
3335 |
| - | |
3336 | 3325 |
| |
3337 |
| - | |
| 3326 | + | |
3338 | 3327 |
| |
3339 | 3328 |
| |
3340 | 3329 |
| |
|
0 commit comments
Comments
(0)