diff options
| author | Marko Kreen | 2012-11-17 16:04:55 +0000 |
|---|---|---|
| committer | Marko Kreen | 2012-11-17 16:04:55 +0000 |
| commit | 6e13626155b0d16d7ebfeb59dbe644ea45f55b3f (patch) | |
| tree | c97868859095fef2192819348c0fe1da860fa96d /src | |
| parent | 3c4005a786b3c97ac9fb8d5ae8cd2b2d18921838 (diff) | |
Use PROVOLATILE constant
Diffstat (limited to 'src')
| -rw-r--r-- | src/function.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
