diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-10-25 03:08:03 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-10-25 03:08:03 +0000 |
commit | 51f62d505e2aba66bf7870c7bd005cd32e7d0953 (patch) | |
tree | 127e7cbbf6679dbc2e3cfd08786ab88a7a801f50 /src/include/utils/dynamic_loader.h | |
parent | 8a17ed63359325c567694fdd378e71803a53cc73 (diff) | |
download | postgresql-51f62d505e2aba66bf7870c7bd005cd32e7d0953.tar.gz postgresql-51f62d505e2aba66bf7870c7bd005cd32e7d0953.zip |
Standardize on MAXPGPATH as the size of a file pathname buffer,
eliminating some wildly inconsistent coding in various parts of the
system. I set MAXPGPATH = 1024 in config.h.in. If anyone is really
convinced that there ought to be a configure-time test to set the
value, go right ahead ... but I think it's a waste of time.
Diffstat (limited to 'src/include/utils/dynamic_loader.h')
-rw-r--r-- | src/include/utils/dynamic_loader.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/utils/dynamic_loader.h b/src/include/utils/dynamic_loader.h index 78d74966c7f..fa2acd226ab 100644 --- a/src/include/utils/dynamic_loader.h +++ b/src/include/utils/dynamic_loader.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: dynamic_loader.h,v 1.12 1999/07/15 23:04:21 momjian Exp $ + * $Id: dynamic_loader.h,v 1.13 1999/10/25 03:07:58 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -14,7 +14,6 @@ #define DYNAMIC_LOADER_H #include <sys/types.h> -#include <sys/param.h> /* For MAXPATHLEN */ /* we need this include because port files use them */ #include "postgres.h" @@ -30,7 +29,7 @@ typedef struct df_files { - char filename[MAXPATHLEN]; /* Full pathname of file */ + char filename[MAXPGPATH]; /* Full pathname of file */ dev_t device; /* Device file is on */ ino_t inode; /* Inode number of file */ void *handle; /* a handle for pg_dl* functions */ |