Use the proper macro to convert a bool to a Datum.
Use the proper macro to convert a bool to a Datum.

The original coding was
	var->value = (Datum) state;
which is bogus, and then in commit 2f0f7b4bce13e68394543728801ef011fd82fac6
it was "corrected" to
	var->value = PointerGetDatum(state);
which is a faithful translation but still wrong.

This seems purely cosmetic, though, so no need for a back-patch.

Pavel Stehule

snaga/postgres-xl,yazun/postgres-xl,ovr/postgres-xl,ovr/postgres-xl,Postgres-XL/Postgres-XL,zeroae/postgres-xl,greenplum-db/gpdb,arcivanov/postgres-xl,lisakowen/gpdb,postmind-net/postgres-xl,techdragon/Postgres-XL,xinzweb/gpdb,50wu/gpdb,greenplum-db/gpdb,kmjungersen/PostgresXL,postmind-net/postgres-xl,tpostgres-projects/tPostgres,50wu/gpdb,ashwinstar/gpdb,adam8157/gpdb,tpostgres-projects/tPostgres,postmind-net/postgres-xl,50wu/gpdb,adam8157/gpdb,lisakowen/gpdb,ashwinstar/gpdb,oberstet/postgres-xl,yazun/postgres-xl,xinzweb/gpdb,jmcatamney/gpdb,oberstet/postgres-xl,50wu/gpdb,snaga/postgres-xl,ovr/postgres-xl,snaga/postgres-xl,adam8157/gpdb,oberstet/postgres-xl,adam8157/gpdb,lisakowen/gpdb,ashwinstar/gpdb,adam8157/gpdb,50wu/gpdb,lisakowen/gpdb,adam8157/gpdb,Postgres-XL/Postgres-XL,lisakowen/gpdb,ashwinstar/gpdb,postmind-net/postgres-xl,techdragon/Postgres-XL,ashwinstar/gpdb,adam8157/gpdb,50wu/gpdb,arcivanov/postgres-xl,lisakowen/gpdb,ovr/postgres-xl,Postgres-XL/Postgres-XL,zeroae/postgres-xl,Postgres-XL/Postgres-XL,jmcatamney/gpdb,postmind-net/postgres-xl,techdragon/Postgres-XL,ashwinstar/gpdb,greenplum-db/gpdb,techdragon/Postgres-XL,snaga/postgres-xl,tpostgres-projects/tPostgres,jmcatamney/gpdb,kmjungersen/PostgresXL,arcivanov/postgres-xl,oberstet/postgres-xl,tpostgres-projects/tPostgres,arcivanov/postgres-xl,jmcatamney/gpdb,50wu/gpdb,pavanvd/postgres-xl,Postgres-XL/Postgres-XL,jmcatamney/gpdb,50wu/gpdb,jmcatamney/gpdb,pavanvd/postgres-xl,xinzweb/gpdb,arcivanov/postgres-xl,lisakowen/gpdb,techdragon/Postgres-XL,arcivanov/postgres-xl,xinzweb/gpdb,yazun/postgres-xl,greenplum-db/gpdb,tpostgres-projects/tPostgres,snaga/postgres-xl,xinzweb/gpdb,xinzweb/gpdb,kmjungersen/PostgresXL,pavanvd/postgres-xl,jmcatamney/gpdb,pavanvd/postgres-xl,kmjungersen/PostgresXL,greenplum-db/gpdb,xinzweb/gpdb,xinzweb/gpdb,lisakowen/gpdb,greenplum-db/gpdb,zeroae/postgres-xl,zeroae/postgres-xl,zeroae/postgres-xl,yazun/postgres-xl,ashwinstar/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,kmjungersen/PostgresXL,yazun/postgres-xl,pavanvd/postgres-xl,adam8157/gpdb,oberstet/postgres-xl,ovr/postgres-xl,ashwinstar/gpdb