Diff's from efficito customer's instance
Fixing custom query handling when table isnot defined yet
Updating changelog for fix originally committed in 1.4

--HG--
extra : source : aaf8bcb92876a235891074291caa9e8a0881930d
Making PGNumber constructor a bitmore robust
Merging from server