Simplify pg_upgrade executable checks

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Date: 2011-02-02T20:40:53Z
Lists: pgsql-hackers

Attachments

The attached patch simplifies pg_upgrade's checking of executables, per
suggestion from Robert Haas.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +