Get rid of perror(), substitute some better phrased error messages.
Peter Eisentraut <peter_e@gmx.net>
Get rid of perror(), substitute some better phrased error messages. malloc() doesn't set errno, so most uses were buggy anyway.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/initdb/initdb.c | modified | +5 −3 |
| src/bin/psql/print.c | modified | +14 −14 |
| src/bin/scripts/common.c | modified | +5 −3 |
| src/interfaces/ecpg/preproc/ecpg.c | modified | +7 −4 |
| src/interfaces/libpq/fe-auth.c | modified | +2 −2 |
| src/interfaces/libpq/fe-print.c | modified | +7 −7 |