Removed unused columsn from find constraint sql. Fixed typo. Added extra schema check for when a foreign table is not in the same schema. Updated indentation to conform to other classes.
Updated code style. braces on the same line for control statements.
[1] Redone missing code. [2] Added empty line at the end of file [3] Removed exception.
Merge pull request #517 from gevik/pgsql-small-fix

Pgsql small fix  (update 2)