Search Postgresql Archives

RegisterBackgroundWorker does not actually start a bg worker process in 9.4.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am new to bg_workers so this may be my user error,
but when I build and run the  contrib/worker_spi
extension,    I find that :

  .   starting postgres with the extension named in shared_preload_libraries :
      its _PG_init is invoked as expected but no process is started -
      it is as though RegisterBackgroundWorker did nothing

  .  creating the extension and then 
psql ...  "select worker_spi_launch(2);" :
    I see
 28409 28288 ?        463508       00:05 00:00:00  0.0 postgres: bgworker: worker 2    
as expected.

Is there maybe some bug in postmaster's processing of
    workers marked as start_at = BgWorkerStart_RecoveryFinished
in 9.4.4?

Cheers,   John
 		 	   		  

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux