forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit82b07eb
committed
Remove a couple of strerror() calls
Change to using %m in the error message string. We need to be a bitcareful here to preserve errno until we need to print it.This change avoids the use of not-thread-safe strerror() and unifiessome error message strings, and maybe makes the code appear moreconsistent.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://www.postgresql.org/message-id/flat/daa87d79-c044-46c4-8458-8d77241ed7b0%40eisentraut.org1 parenta68159f commit82b07eb
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
627 | | - | |
628 | | - | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
629 | 632 | | |
630 | 633 | | |
631 | 634 | | |
| |||
762 | 765 | | |
763 | 766 | | |
764 | 767 | | |
765 | | - | |
766 | | - | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
767 | 771 | | |
768 | 772 | | |
769 | 773 | | |
| |||
0 commit comments
Comments
(0)