PGSQL: Update simulation data with a number of missing fields for
parcels. Some of the fields should probably be migrated to type
Boolean to avoid the hairy casting in the query. In addition the
overall server code relies in the Replace in SQL statement that is
proprietary to MySQL, so the PGSQL code is rather unsafe as it is.
Should probably set a transaction on the whole operation so that if
something goes wrong the database record is not zapped as it is now.
PostgreSQL 9.5 has the upsert functionality which would bring the code
closer to the MySQL version. This commit also has an update to
Signed-off-by: UbitUmarov <firstname.lastname@example.org>
thanks for this... keep working on it...
La Ventura (heavy metal band) Tumblr page: