Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

miscadmin.h

  • Tom Lane's avatar
    9aca5125
    Make sure -D is an absolute path when starting server on Windows. · 9aca5125
    Tom Lane authored
    This is needed because Windows services may get started with a different
    current directory than where pg_ctl is executed.  We want relative -D
    paths to be interpreted relative to pg_ctl's CWD, similarly to what
    happens on other platforms.
    
    In support of this, move the backend's make_absolute_path() function
    into src/port/path.c (where it probably should have been long since)
    and get rid of the rather inferior version in pg_regress.
    
    Kumar Rajeev Rastogi, reviewed by MauMau
    9aca5125
    History
    Make sure -D is an absolute path when starting server on Windows.
    Tom Lane authored
    This is needed because Windows services may get started with a different
    current directory than where pg_ctl is executed.  We want relative -D
    paths to be interpreted relative to pg_ctl's CWD, similarly to what
    happens on other platforms.
    
    In support of this, move the backend's make_absolute_path() function
    into src/port/path.c (where it probably should have been long since)
    and get rid of the rather inferior version in pg_regress.
    
    Kumar Rajeev Rastogi, reviewed by MauMau