diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-08-16 04:32:49 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-08-16 04:32:49 +0000 |
commit | d6ac61cd641baa7d7c4557fe01f03b8ae1de3bd7 (patch) | |
tree | bdd6f97798038d6138a3d8daa7f1ae29857c161a /src/backend/utils/fmgr/dfmgr.c | |
parent | 1395ac6c67db2f91a78f8f765015ab51ddc03c85 (diff) |
Seems some C compilers think 'restrict' is a fully reserved word.
Per buildfarm results from warthog.
Diffstat (limited to 'src/backend/utils/fmgr/dfmgr.c')
-rw-r--r-- | src/backend/utils/fmgr/dfmgr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/fmgr/dfmgr.c b/src/backend/utils/fmgr/dfmgr.c index 3c2b34e3e63..b95180d17ef 100644 --- a/src/backend/utils/fmgr/dfmgr.c +++ b/src/backend/utils/fmgr/dfmgr.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.88 2006/08/15 18:26:58 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.89 2006/08/16 04:32:48 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -131,16 +131,16 @@ load_external_function(char *filename, char *funcname, * function in it. If the same shlib has previously been loaded, * unload and reload it. * - * When 'restrict' is true, only libraries in the presumed-secure + * When 'restricted' is true, only libraries in the presumed-secure * directory $libdir/plugins may be referenced. */ void -load_file(const char *filename, bool restrict) +load_file(const char *filename, bool restricted) { char *fullname; /* Apply security restriction if requested */ - if (restrict) + if (restricted) check_restricted_library_name(filename); /* Expand the possibly-abbreviated filename to an exact path name */ |