summaryrefslogtreecommitdiff
path: root/src/port/path.c
AgeCommit message (Expand)Author
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2006-02-01Fix const cast in get_progname().Bruce Momjian
2006-02-01Set progname early in the postmaster/postgres binary, rather than doingBruce Momjian
2005-12-23Fix make_relative_path() to support cases where target_path and bin_pathTom Lane
2005-11-22Re-run pgindent, fixing a problem where comment lines after a blankBruce Momjian
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-10-13Use get_progname() in backend main.c, rather than port-specific hackBruce Momjian
2005-09-27Fix problems with PGXS builds against an installation tree that wasTom Lane
2005-08-29Fix platform-specific test for path prefix-ness: move it into path.c whereTom Lane
2005-08-12Fix up canonicalize_path to do the right thing in all cases (I think ...Tom Lane
2005-08-12Reverse out changes to canonicalize_path(), per suggestion from Tom.Bruce Momjian
2005-08-12Modify canonicalize_path() so if we would return a trailing "..", throwBruce Momjian
2005-08-12Update comments.Bruce Momjian
2005-08-12Document why we only handle trailing "..".Bruce Momjian
2005-08-11Fix canonicalize_path so "../.." isn't stripped off and ignored.Bruce Momjian
2005-01-26Use SHGetFolderPath instead of SHGetSpecialFolderPath to find theTom Lane
2005-01-10Un-break MSVC build, per Andrew Dunstan.Tom Lane
2005-01-06Minor mop-up for Windows home-directory stuff, per Magnus.Tom Lane
2005-01-06Adjust lookup of client-side profile files (.pgpass and so on) as perTom Lane
2005-01-06Make the various places that determine the user's "home directory"Tom Lane
2004-12-31Tag appropriate files for rc3PostgreSQL Daemon
2004-11-07Removes duplicate slashes from the path in canonicalize_path(). ItBruce Momjian
2004-11-06Simplify relative-path logic, on the assumption that compiled-in pathsTom Lane
2004-11-06Fix sizeof(EXE) arithmetic, per Andrew Dunstan.Tom Lane
2004-11-06Code cleanup in path.c and exec.c. Handle Windows drive and network specsTom Lane
2004-11-02Add comment about memory failure of get_progname exiting the postmaster:Bruce Momjian
2004-11-01Adjust use of sizeof(EXE).Bruce Momjian
2004-11-01Clarify coding of .exe patchBruce Momjian
2004-10-27Canonicalize Win32 path coming in from pg_ctl -D, idea from Magnus.Bruce Momjian
2004-10-24On Windows, cause get_progname to strip any .EXE suffix.Tom Lane
2004-09-24Fix gratuitous weirdness in function prototype, per Kris Jurka.Tom Lane
2004-09-02Remove useless variable.Tom Lane
2004-08-29Add WAL logging for CREATE/DROP DATABASE and CREATE/DROP TABLESPACE.Tom Lane
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-08-29Update copyright to 2004.Bruce Momjian
2004-08-18Add get_home_path() to use USERPROFILE on Win32 and HOME on Unix.Bruce Momjian
2004-08-13Fix core dumps, inability to count, etc associated with canonicalize_pathTom Lane
2004-08-12Cleanup Win32 COPY handling, and move archive examples to SGML.Bruce Momjian
2004-08-12Add make_native_path() because Win32 COPY is an internal CMD.EXE commandBruce Momjian
2004-08-09Path-mangling logic was failing to account for paths containing mentionsTom Lane
2004-08-01Create a C version of pg_config.Bruce Momjian
2004-07-12Add blank line to new canonicalize_path file, which handles "a b\" properly.Bruce Momjian
2004-07-12Put back canonicalization of PGDATA environment variable.Bruce Momjian
2004-07-11Use canonicalize_path for -D, GUC paths, and paths coming in fromBruce Momjian
2004-07-11Fix trim_trailing_separator() to not trim c:\ nor \\network\ on Win32.Bruce Momjian
2004-07-10Fix BSD-only coding in port.c (passing a local variable to putenv).Tom Lane
2004-06-11Use sizeof() rather than strlen() in array size.Bruce Momjian
2004-06-10Attached is a patch that takes care of the PATHSEP issue. I made a moreBruce Momjian
2004-06-08Change PGETC to PGSYSCONFDIR and PGLOCALE to PGLOCALEDIR, per Peter.Bruce Momjian
2004-06-03Add PGETC (for pg_service.conf) and PGLOCALE (for locale dir)Bruce Momjian