Standardize on MAXPGPATH as the size of a file pathname buffer,
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 25 Oct 1999 03:08:03 +0000 (03:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 25 Oct 1999 03:08:03 +0000 (03:08 +0000)
commit51f62d505e2aba66bf7870c7bd005cd32e7d0953
tree127e7cbbf6679dbc2e3cfd08786ab88a7a801f50
parent8a17ed63359325c567694fdd378e71803a53cc73
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.
22 files changed:
src/backend/access/transam/xlog.c
src/backend/bootstrap/bootstrap.c
src/backend/commands/dbcommands.c
src/backend/libpq/pqcomm.c
src/backend/postmaster/postmaster.c
src/backend/storage/smgr/md.c
src/backend/tcop/postgres.c
src/backend/utils/adt/filename.c
src/backend/utils/error/elog.c
src/backend/utils/init/postinit.c
src/backend/utils/misc/database.c
src/bin/psql/psql.c
src/include/config.h.in
src/include/port/sco.h
src/include/port/win32.h
src/include/postgres.h
src/include/utils/dynamic_loader.h
src/interfaces/ecpg/preproc/pgc.l
src/interfaces/libpq/fe-auth.c
src/interfaces/odbc/gpps.c
src/interfaces/odbc/setup.c
src/utils/version.c