Save a few cycles while creating "sticky" entries in pg_stat_statements.
Save a few cycles while creating "sticky" entries in pg_stat_statements.

There's no need to sit there and increment the stats when we know all the
increments would be zero anyway.  The actual additions might not be very
expensive, but skipping acquisition of the spinlock seems like a good
thing.  Pushing the logic about initialization of the usage count down into
entry_alloc() allows us to do that while making the code actually simpler,
not more complex.  Expansion on a suggestion by Peter Geoghegan.

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