Address an issue with set global_session, make sure to catch errors instead of ignoring.
Address an issue with set global_session, make sure to catch
errors instead of ignoring.

Patch submitted by Jov

arcivanov/postgres-xl,arcivanov/postgres-xl,postmind-net/postgres-xl,kmjungersen/PostgresXL,postmind-net/postgres-xl,snaga/postgres-xl,kmjungersen/PostgresXL,arcivanov/postgres-xl,arcivanov/postgres-xl,snaga/postgres-xl,postmind-net/postgres-xl,kmjungersen/PostgresXL,snaga/postgres-xl,arcivanov/postgres-xl,snaga/postgres-xl,kmjungersen/PostgresXL,postmind-net/postgres-xl,kmjungersen/PostgresXL,snaga/postgres-xl,arcivanov/postgres-xl,postmind-net/postgres-xl