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

dbcommands.c

  • Bruce Momjian's avatar
    6cc4175b
    Attached is a patch that takes care of the PATHSEP issue. I made a more · 6cc4175b
    Bruce Momjian authored
    extensive change then what was suggested. I found the file path.c that
    contained a lot of "Unix/Windows" agnostic functions so I added a function
    there instead and removed the PATHSEP declaration in exec.c altogether. All
    to keep things from scattering all over the code.
    
    I also took the liberty of changing the name of the functions
    "first_path_sep" and "last_path_sep". Where I come from (and I'm apparently
    not alone given the former macro name PATHSEP), they should be called
    "first_dir_sep" and "last_dir_sep". The new function I introduced, that
    actually finds path separators, is now the "first_path_sep". The patch
    contains changes on all affected places of course.
    
    I also changed the documentation on dynamic_library_path to reflect the
    chagnes.
    
    Thomas Hallgren
    6cc4175b
    History
    Attached is a patch that takes care of the PATHSEP issue. I made a more
    Bruce Momjian authored
    extensive change then what was suggested. I found the file path.c that
    contained a lot of "Unix/Windows" agnostic functions so I added a function
    there instead and removed the PATHSEP declaration in exec.c altogether. All
    to keep things from scattering all over the code.
    
    I also took the liberty of changing the name of the functions
    "first_path_sep" and "last_path_sep". Where I come from (and I'm apparently
    not alone given the former macro name PATHSEP), they should be called
    "first_dir_sep" and "last_dir_sep". The new function I introduced, that
    actually finds path separators, is now the "first_path_sep". The patch
    contains changes on all affected places of course.
    
    I also changed the documentation on dynamic_library_path to reflect the
    chagnes.
    
    Thomas Hallgren