The result of getopt() should be compared to -1, not EOF, per
Tom Lane <tgl@sss.pgh.pa.us>
The result of getopt() should be compared to -1, not EOF, per pgsql-hackers discussion of this date.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/dbase/dbf2pg.c | modified | +4 −1 |
| contrib/oid2name/oid2name.c | modified | +1 −1 |
| contrib/pgbench/pgbench.c | modified | +2 −2 |
| src/backend/bootstrap/bootstrap.c | modified | +2 −2 |
| src/backend/postmaster/postmaster.c | modified | +3 −3 |
| src/backend/tcop/postgres.c | modified | +3 −3 |
| src/bin/pg_dump/pg_restore.c | modified | +2 −3 |
| src/interfaces/ecpg/preproc/ecpg.c | modified | +3 −4 |