Get rid of some unnecessary dependencies on DataDir: wherever possible,
Tom Lane <tgl@sss.pgh.pa.us>
Get rid of some unnecessary dependencies on DataDir: wherever possible, the backend should rely on its working-directory setting instead. Also do some message-style police work in contrib/adminpack.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/adminpack/adminpack.c | modified | +56 −58 |
| src/backend/utils/adt/dbsize.c | modified | +18 −31 |
| src/backend/utils/adt/genfile.c | modified | +9 −13 |