Fixed silly bug that was preventing the limit clause from being appended to a SQL statement.
Added method comment.
Disabled reading of postgres config file when compilation conditional POSTGRES is disabled.