Commit Graph

71 Commits (12f25e70a6feb40b7fba1dcc17deabcffcdfcc3d)

Author SHA1 Message Date
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Tom Lane c92f7e258e Replace strncpy with strlcpy in selected places that seem possibly relevant 20 years ago
Tom Lane beca984e5f Fix bugs in plpgsql and ecpg caused by assuming that isspace() would only 20 years ago
Tom Lane 568b80168f Move set_pglocale_pgservice() from path.c to exec.c, so that pulling in 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Bruce Momjian 802c7aa30f Fix const cast in get_progname(). 20 years ago
Bruce Momjian 62a142036b Set progname early in the postmaster/postgres binary, rather than doing 20 years ago
Tom Lane 936d43d842 Fix make_relative_path() to support cases where target_path and bin_path 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Bruce Momjian 32e6c2a160 Use get_progname() in backend main.c, rather than port-specific hack 20 years ago
Tom Lane 4fc935a5d4 Fix problems with PGXS builds against an installation tree that was 21 years ago
Tom Lane 8aec77fb9f Fix platform-specific test for path prefix-ness: move it into path.c where 21 years ago
Tom Lane 0d1ebe0194 Fix up canonicalize_path to do the right thing in all cases (I think ... 21 years ago
Bruce Momjian 3b0ee862d6 Reverse out changes to canonicalize_path(), per suggestion from Tom. 21 years ago
Bruce Momjian 35379e9079 Modify canonicalize_path() so if we would return a trailing "..", throw 21 years ago
Bruce Momjian d95886e734 Update comments. 21 years ago
Bruce Momjian 6effc19d9c Document why we only handle trailing "..". 21 years ago
Bruce Momjian 6a60357588 Fix canonicalize_path so "../.." isn't stripped off and ignored. 21 years ago
Tom Lane 889f038129 Use SHGetFolderPath instead of SHGetSpecialFolderPath to find the 21 years ago
Tom Lane 8e4f4078d8 Un-break MSVC build, per Andrew Dunstan. 21 years ago
Tom Lane bbeeea1437 Minor mop-up for Windows home-directory stuff, per Magnus. 21 years ago
Tom Lane a3f98d5795 Adjust lookup of client-side profile files (.pgpass and so on) as per 21 years ago
Tom Lane d97ae8230e Make the various places that determine the user's "home directory" 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Bruce Momjian 33be9d359a Removes duplicate slashes from the path in canonicalize_path(). It 21 years ago
Tom Lane bffe45a72c Simplify relative-path logic, on the assumption that compiled-in paths 21 years ago
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