forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb3f32a6
committed
Fix misuse of pg_log_info() for details/hints.
Two places in pg_dump_sort.c were using pg_log_info() to addmore details to a message printed with pg_log_warning().This is bad, because at default verbosity level we wouldprint the warning line but not the details. One should usepg_log_warning_detail() or pg_log_warning_hint() instead.Commit9a374b7 got rid of most such abuses, but unaccountablymissed these.Noted while studying a bug report from Sami Imseih.Back-patch to v15 where9a374b7 came in. (Prior versionsdon't have the missing-details misbehavior, for reasonsI didn't bother to track down.)Discussion:https://postgr.es/m/2C1933AB-C2F8-499B-9D18-4AC1882256A0@amazon.com1 parentd0f4824 commitb3f32a6
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1233 | 1233 |
| |
1234 | 1234 |
| |
1235 | 1235 |
| |
1236 |
| - | |
1237 |
| - | |
1238 |
| - | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
1239 | 1239 |
| |
1240 | 1240 |
| |
1241 | 1241 |
| |
| |||
1253 | 1253 |
| |
1254 | 1254 |
| |
1255 | 1255 |
| |
1256 |
| - | |
| 1256 | + | |
1257 | 1257 |
| |
1258 | 1258 |
| |
1259 | 1259 |
| |
|
0 commit comments
Comments
(0)