From 51f62d505e2aba66bf7870c7bd005cd32e7d0953 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 25 Oct 1999 03:08:03 +0000 Subject: 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. --- src/include/utils/dynamic_loader.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/include/utils/dynamic_loader.h') diff --git a/src/include/utils/dynamic_loader.h b/src/include/utils/dynamic_loader.h index 78d74966c7..fa2acd226a 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 -#include /* 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 */ -- cgit v1.2.1