diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-06-10 22:26:24 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-06-10 22:26:24 +0000 |
commit | 6cc4175b256cfc87411f9e704f9a34cf54f6b256 (patch) | |
tree | 7bdf7438dc345bd1154f30efd2cc097f3f0c0c4e /doc/src | |
parent | d4117de50a78afb11d5b7004aa4e34540dc9193a (diff) |
Attached is a patch that takes care of the PATHSEP issue. I made a more
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
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/runtime.sgml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 2a9177170c7..59d59a5e6f0 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.265 2004/05/26 18:51:43 momjian Exp $ +$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.266 2004/06/10 22:26:17 momjian Exp $ --> <Chapter Id="runtime"> @@ -2617,8 +2617,9 @@ SET ENABLE_SEQSCAN TO OFF; </para> <para> - The value for <varname>dynamic_library_path</varname> has to be a colon-separated - list of absolute directory names. If a directory name starts + The value for <varname>dynamic_library_path</varname> has to be a + list of absolute directory names separated by colon or, in windows + environments with semi-colon. If a directory name starts with the special value <literal>$libdir</literal>, the compiled-in <productname>PostgreSQL</productname> package library directory is substituted. This where the modules @@ -2629,6 +2630,10 @@ SET ENABLE_SEQSCAN TO OFF; <programlisting> dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir' </programlisting> + or, in a windows environment: +<programlisting> +dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir' +</programlisting> </para> <para> |