aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-05-02 22:02:37 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-05-02 22:02:37 +0000
commitd90984f4f6f35cf77e05d76ad8ac63c30d9c0041 (patch)
treed6478c10aa605abbce682f431081a6f5b5443e25 /src/tutorial/advanced.source
parenta16e007c92b34c7f358689dbb8eb751026a51d60 (diff)
downloadpostgresql-d90984f4f6f35cf77e05d76ad8ac63c30d9c0041.tar.gz
postgresql-d90984f4f6f35cf77e05d76ad8ac63c30d9c0041.zip
Install some simple defenses in postmaster startup to help ensure a useful
error message if the installation directory layout is messed up (or at least, something more useful than the behavior exhibited in bug #4787). During postmaster startup, check that get_pkglib_path resolves as a readable directory; and if ParseTzFile() fails to open the expected timezone abbreviation file, check the possibility that the directory is missing rather than just the specified file. In case of either failure, issue a hint suggesting that the installation is broken. These two checks cover the lib/ and share/ trees of a full installation, which should take care of most scenarios where a sysadmin decides to get cute.
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions