9.0 beta2 pg_upgrade command line parsing
Steve Singer <ssinger@ca.afilias.info>
From: Steve Singer <ssinger@ca.afilias.info>
To: PostgreSQL-development Hackers <pgsql-hackers@postgresql.org>
Date: 2010-06-15T21:27:39Z
Lists: pgsql-hackers
Attachments
- option.c.diff (text/x-patch) patch
When I try running pg_upgrade from beta2 on an AIX server I'm unable to get beyond the command line parsing (no matter what command line arguments I pass in it always complains about the usage). When I compile pg_upgrade it complains about: option.c: In function 'parseCommandLine': option.c:103: warning: comparison is always true due to limited range of data type getopt_long (both our version in ports and the gnu version) is defined to return an int. The attach patch allows me to get beyond the options loop under AIX. -- Steve Singer Afilias Canada Data Services Developer 416-673-1142