On 31/03/17 15:42, Robert Haas wrote:
> On Tue, Mar 28, 2017 at 7:39 PM, Petr Jelinek
> <petr.jelinek@2ndquadrant.com> wrote:
>> Sigh, forgot git add for the docs, so one more try...
>
> + if (strncmp(worker->bgw_library_name, "postgres", 8) != 0)
> + return NULL;
>
> I think that's not right. You don't want to match postgresshdkgjsdglkjs.
>
Right, changed to BGW_MAXLEN.
> Aside from that, these look good to me.
>
Cool.
--
Petr Jelinek http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services