Re: documentation bug - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: documentation bug
Date
Msg-id 20140227144329.GO4759@eldon.alvh.no-ip.org
Whole thread Raw
In response to documentation bug  (James Harper <james.harper@bendigoit.com.au>)
List pgsql-general
James Harper wrote:
> Just a minor bug in the documentation - http://www.postgresql.org/docs/9.3/static/bgworker.html says that bgw_main
takesan argument of void*, but when declared as such gcc -Wall gives a warning of: 
>
> init.c:59:19: warning: assignment from incompatible pointer type [enabled by default]
>    worker.bgw_main = listener;
>
> the bgw_main should be declared as taking an argument of Datum.

Yeah, fix pushed.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


pgsql-general by date:

Previous
From: Dev Kumkar
Date:
Subject: Issue with default values and Rule
Next
From: Adrian Klaver
Date:
Subject: Re: Issue with default values and Rule