updated and verfied pgsql schema and all patches.
Merge pull request #237 from nZEDb/master

updated and verfied pgsql schema and all patches.