[COMMITTERS] pgsql: Fix mishandling of background worker PGPROCs in EXEC_BACKEND bui

2014-07-30 Thread Robert Haas
Fix mishandling of background worker PGPROCs in EXEC_BACKEND builds. InitProcess() relies on IsBackgroundWorker to decide whether the PGPROC for a new backend should be taken from ProcGlobal's freeProcs or from bgworkerFreeProcs. In EXEC_BACKEND builds, InitProcess() is called sooner than in non-

[COMMITTERS] pgsql: Fix mishandling of background worker PGPROCs in EXEC_BACKEND bui

2014-07-30 Thread Robert Haas
Fix mishandling of background worker PGPROCs in EXEC_BACKEND builds. InitProcess() relies on IsBackgroundWorker to decide whether the PGPROC for a new backend should be taken from ProcGlobal's freeProcs or from bgworkerFreeProcs. In EXEC_BACKEND builds, InitProcess() is called sooner than in non-

[COMMITTERS] pgsql: Fix mishandling of background worker PGPROCs in EXEC_BACKEND bui

2014-07-30 Thread Robert Haas
Fix mishandling of background worker PGPROCs in EXEC_BACKEND builds. InitProcess() relies on IsBackgroundWorker to decide whether the PGPROC for a new backend should be taken from ProcGlobal's freeProcs or from bgworkerFreeProcs. In EXEC_BACKEND builds, InitProcess() is called sooner than in non-

[COMMITTERS] pgsql: pgbench: Allow \setrandom to generate Gaussian/exponential distr

2014-07-30 Thread Robert Haas
pgbench: Allow \setrandom to generate Gaussian/exponential distributions. Mitsumasa KONDO and Fabien COELHO, with further wordsmithing by me. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ed802e7dc36059efbc6669b4bfeebad43f0898c1 Modified Files -- contr