pgsql: Some of our port-specific dynloader implementations are careful

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Some of our port-specific dynloader implementations are careful
Date: 2007-07-12 21:13:27
Message-ID: 20070712211327.BE51B9FB63E@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Some of our port-specific dynloader implementations are careful to
define pg_dlsym() as returning a PGFunction pointer, not just any
pointer-to-function. But many are not. Suppress compiler warnings
on platforms that aren't careful by inserting explicit casts at the
two call sites that didn't have a cast already. Per Stefan.

Modified Files:
--------------
pgsql/src/backend/utils/fmgr:
dfmgr.c (r1.94 -> r1.95)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/fmgr/dfmgr.c.diff?r1=1.94&r2=1.95)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-07-12 21:17:10 pgsql: Suppress an integer-overflow warning.
Previous Message Tom Lane 2007-07-12 21:04:45 pgsql: Compute max and min int8 values using unsigned arithmetic, in