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/postgres.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/include/postgres.h') diff --git a/src/include/postgres.h b/src/include/postgres.h index 5835f444866..ddc84007332 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -6,7 +6,7 @@ * * Copyright (c) 1995, Regents of the University of California * - * $Id: postgres.h,v 1.27 1999/10/23 03:13:30 tgl Exp $ + * $Id: postgres.h,v 1.28 1999/10/25 03:07:55 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -28,7 +28,7 @@ * 2) varlena and array types * 3) TransactionId and CommandId * 4) genbki macros used by catalog/pg_xxx.h files - * 5) random CSIGNBIT, MAXPGPATH, STATUS macros + * 5) random stuff * * ---------------------------------------------------------------- */ @@ -158,9 +158,6 @@ typedef uint32 CommandId; /* msb for char */ #define CSIGNBIT (0x80) -/* this should probably be somewhere else */ -#define MAXPGPATH 128 - #define STATUS_OK (0) #define STATUS_ERROR (-1) #define STATUS_NOT_FOUND (-2) -- cgit v1.2.3