Re: fix worker_spi to run as non-dynamic background worker

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Shigeru Hanada <shigeru(dot)hanada(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: fix worker_spi to run as non-dynamic background worker
Date: 2014-05-23 14:38:18
Message-ID: CAB7nPqQzQiDRDKODL3rr0EqVs3RWj=sWWE3w9Gn79ZaBRFia9w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 23, 2014 at 6:29 PM, Shigeru Hanada
<shigeru(dot)hanada(at)gmail(dot)com> wrote:
> I noticed that contrib/worker_spi can't run as non-dynamic background
> worker (IOW, load via shared_preload_libraries), because of
> uninitialized bgw_notify_pid.
That's actually the case of all the bgworkers that have been developed
with 9.3 and not only worker_spi. If bgw_notify_pid needs to be
specifically initialized with 9.4, this should be mentioned in the
release notes or users will be surprised.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-05-23 14:40:10 Re: SKIP LOCKED DATA (work in progress)
Previous Message Jeff Ross 2014-05-23 14:32:35 Re: pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3