Search Postgresql Archives

documentation bug

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

 



Just a minor bug in the documentation - http://www.postgresql.org/docs/9.3/static/bgworker.html says that bgw_main takes an 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.

James


-- 
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