From: Marko Kreen Date: Sat, 17 Nov 2012 16:04:55 +0000 (+0200) Subject: Use PROVOLATILE constant X-Git-Tag: plproxy_2_5~4 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=6e13626155b0d16d7ebfeb59dbe644ea45f55b3f;p=plproxy.git Use PROVOLATILE constant --- diff --git a/src/function.c b/src/function.c index 19b77ad..f5f1d42 100644 --- a/src/function.c +++ b/src/function.c @@ -479,7 +479,7 @@ fn_compile(FunctionCallInfo fcinfo, Form_pg_proc proc_struct; proc_struct = (Form_pg_proc) GETSTRUCT(proc_tuple); - if (proc_struct->provolatile != 'v') + if (proc_struct->provolatile != PROVOLATILE_VOLATILE) elog(ERROR, "PL/Proxy functions must be volatile"); f = fn_new(fcinfo, proc_tuple);