This is the fix for the bug 3600220 for REL1_0_STABLE, restart after pg_ctl stop -m immediate.   Added unregistering the node from GTM before postmaster finishes so that following pg_ctl start succeeds.
This is the fix for the bug 3600220 for REL1_0_STABLE, restart after
pg_ctl stop -m immediate.   Added unregistering the node from GTM
before postmaster finishes so that following pg_ctl start succeeds.

	modified:   src/backend/postmaster/postmaster.c

arcivanov/postgres-xl,pavanvd/postgres-xl,zeroae/postgres-xl,zeroae/postgres-xl,postmind-net/postgres-xl,techdragon/Postgres-XL,snaga/postgres-xl,zeroae/postgres-xl,snaga/postgres-xl,snaga/postgres-xl,kmjungersen/PostgresXL,arcivanov/postgres-xl,Postgres-XL/Postgres-XL,yazun/postgres-xl,techdragon/Postgres-XL,ovr/postgres-xl,Postgres-XL/Postgres-XL,pavanvd/postgres-xl,arcivanov/postgres-xl,postmind-net/postgres-xl,yazun/postgres-xl,ovr/postgres-xl,techdragon/Postgres-XL,zeroae/postgres-xl,pavanvd/postgres-xl,ovr/postgres-xl,arcivanov/postgres-xl,oberstet/postgres-xl,oberstet/postgres-xl,Postgres-XL/Postgres-XL,ovr/postgres-xl,pavanvd/postgres-xl,kmjungersen/PostgresXL,Postgres-XL/Postgres-XL,techdragon/Postgres-XL,oberstet/postgres-xl,oberstet/postgres-xl,snaga/postgres-xl,kmjungersen/PostgresXL,postmind-net/postgres-xl,kmjungersen/PostgresXL,yazun/postgres-xl,techdragon/Postgres-XL,postmind-net/postgres-xl,postmind-net/postgres-xl,oberstet/postgres-xl,Postgres-XL/Postgres-XL,pavanvd/postgres-xl,ovr/postgres-xl,kmjungersen/PostgresXL,arcivanov/postgres-xl,snaga/postgres-xl,yazun/postgres-xl,yazun/postgres-xl,zeroae/postgres-xl,arcivanov/postgres-xl