Commit Graph

93 Commits (fe2534e534c0572a71d6f0d2d51a2d058fc3524c)

Author SHA1 Message Date
Tom Lane d2f6c3e56c Fix sizeof(EXE) arithmetic, per Andrew Dunstan. 21 years ago
Tom Lane 4867afef7a Code cleanup in path.c and exec.c. Handle Windows drive and network specs 21 years ago
Bruce Momjian b0830e39c3 Add comment about memory failure of get_progname exiting the postmaster: 21 years ago
Bruce Momjian 584bfe3d70 Adjust use of sizeof(EXE). 21 years ago
Bruce Momjian b2b585fb2d Clarify coding of .exe patch 21 years ago
Bruce Momjian 3fe704209a Canonicalize Win32 path coming in from pg_ctl -D, idea from Magnus. 21 years ago
Tom Lane 39fccf0277 On Windows, cause get_progname to strip any .EXE suffix. 21 years ago
Tom Lane 00b821a11b Fix gratuitous weirdness in function prototype, per Kris Jurka. 22 years ago
Tom Lane e00896f3c6 Remove useless variable. 22 years ago
Tom Lane 50742aed68 Add WAL logging for CREATE/DROP DATABASE and CREATE/DROP TABLESPACE. 22 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 22 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 22 years ago
Bruce Momjian 1abf13db3c Add get_home_path() to use USERPROFILE on Win32 and HOME on Unix. 22 years ago
Tom Lane 79f9ee9d15 Fix core dumps, inability to count, etc associated with canonicalize_path 22 years ago
Bruce Momjian 10249abfa1 Cleanup Win32 COPY handling, and move archive examples to SGML. 22 years ago
Bruce Momjian 6525b42b10 Add make_native_path() because Win32 COPY is an internal CMD.EXE command 22 years ago
Tom Lane b06c907645 Path-mangling logic was failing to account for paths containing mentions 22 years ago
Bruce Momjian cc07f8cfe7 Create a C version of pg_config. 22 years ago
Bruce Momjian 15c8fd70e8 Add blank line to new canonicalize_path file, which handles "a b\" properly. 22 years ago
Bruce Momjian a4c71af2c0 Put back canonicalization of PGDATA environment variable. 22 years ago
Bruce Momjian 7b0f060d54 Use canonicalize_path for -D, GUC paths, and paths coming in from 22 years ago
Bruce Momjian ff2fbacc42 Fix trim_trailing_separator() to not trim c:\ nor \\network\ on Win32. 22 years ago
Tom Lane b9f698eccb Fix BSD-only coding in port.c (passing a local variable to putenv). 22 years ago
Bruce Momjian 2597056cc3 Use sizeof() rather than strlen() in array size. 22 years ago
Bruce Momjian 6cc4175b25 Attached is a patch that takes care of the PATHSEP issue. I made a more 22 years ago
Bruce Momjian cd8b0fc5f1 Change PGETC to PGSYSCONFDIR and PGLOCALE to PGLOCALEDIR, per Peter. 22 years ago
Bruce Momjian 6870843339 Add PGETC (for pg_service.conf) and PGLOCALE (for locale dir) 22 years ago
Bruce Momjian 437063bdc4 Move setlocale() outside of NLS-only defines. 22 years ago
Bruce Momjian 2a70ec1bdf Allow relative paths as long as the hardcoded path matches the bin path 22 years ago
Bruce Momjian c826991dd7 Fix set_pglocale to properly pass my_exec_path to get_locale_path instead of argv0. 22 years ago
Bruce Momjian 88ca65d76b Skip settting LC_ALL in the backend. 22 years ago
Bruce Momjian 228897774c Make the locale location relocatable. 22 years ago
Tom Lane 13f96c4b6b Put path configuration information into a .h file instead of cluttering 22 years ago
Bruce Momjian f16874c23d Win32 can't have the same function coming from two library object files, 22 years ago
Bruce Momjian 3b382d1ae3 Clean up some relative path install issues with Claudio's help. 22 years ago
Bruce Momjian 3febb477e6 Reorganize code to allow path-relative installs. 22 years ago
Bruce Momjian b1ffacddfc Rename find_my_binary/find_other_binary to 22 years ago
Bruce Momjian fda15b351a As part of the work for making relocatable installs, I have re-factored 22 years ago
Bruce Momjian f0f4e82f45 The win32 port backend will require the functionality provided by 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Bruce Momjian 018cf0f76e Update /port C header descriptions. 22 years ago
Bruce Momjian 089003fb46 pgindent run. 23 years ago
Bruce Momjian d46e643822 Add Win32 path handling for / vs. \ and drive letters. 23 years ago