Skip to content
Snippets Groups Projects
  • Tom Lane's avatar
    eb5949d1
    Arrange for the postmaster (and standalone backends, initdb, etc) to · eb5949d1
    Tom Lane authored
    chdir into PGDATA and subsequently use relative paths instead of absolute
    paths to access all files under PGDATA.  This seems to give a small
    performance improvement, and it should make the system more robust
    against naive DBAs doing things like moving a database directory that
    has a live postmaster in it.  Per recent discussion.
    eb5949d1
    History
    Arrange for the postmaster (and standalone backends, initdb, etc) to
    Tom Lane authored
    chdir into PGDATA and subsequently use relative paths instead of absolute
    paths to access all files under PGDATA.  This seems to give a small
    performance improvement, and it should make the system more robust
    against naive DBAs doing things like moving a database directory that
    has a live postmaster in it.  Per recent discussion.
misc.c 4.66 KiB