The result of getopt() should be compared to -1, not EOF, per

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 92a2598f9744881a99f44f119bb0eb6ccde36c6c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-01-10T01:11:45Z
Releases: 7.2.1
The result of getopt() should be compared to -1, not EOF, per
pgsql-hackers discussion of this date.

Files