summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-05-22Clean up failure to remove exec.o on 'make clean'.Tom Lane
2004-05-22Use wide-character library routines, if available, for upper/lower/initcapTom Lane
functions. This allows these functions to work correctly with Unicode and other multibyte encodings. Per prior discussion. Also, revert my earlier change to move installation path mashing from Makefile.global to configure. Turns out not to work well because configure script is working with unexpanded variables, and so fails to match in cases where it should match.
2004-05-21Handle inclusion of port modules 'correctly', viz the same way libpqTom Lane
does it. Fixes OS X, which needs path.c. It may be that Win32 needs some more port modules, but they are easily added.
2004-05-21pgindent did a pretty awful job on the timezone code, particularly withTom Lane
respect to doubly-starred comment blocks. Do some manual cleanup.
2004-05-21Put path configuration information into a .h file instead of clutteringTom Lane
several different module Makefiles with it. Also, do any adjustment of installation paths during configure, rather than every time Makefile.global is read.
2004-05-21Probably need sys/time.h here too to be safe.Tom Lane
2004-05-21Put back #include <sys/time.h> in files that seem to need it on Linux.Tom Lane
2004-05-21Fix random breakage in exec.c for platforms where strdup is a macro.Tom Lane
2004-05-21- Fixed DEALLOCATE PREPARE to use correct function callMichael Meskes
- Made sure connect statement does not accept single char variable, but only strings.
2004-05-21Pgindent timezone file, per request from Tom.Bruce Momjian
2004-05-21Integrate src/timezone library for all platforms. There is more we canTom Lane
and should do now that we control our own destiny for timezone handling, but this commit gets the bulk of the picayune diffs in place. Magnus Hagander and Tom Lane.
2004-05-21Add mention of why -lpgport is needed in ecpglib (dllwrap).Bruce Momjian
2004-05-21Add -lpgport to ecpglib link only on win32. Other platforms haveBruce Momjian
problems with it.
2004-05-21Revert addition of -lpgport, which breaks the build on platforms thatTom Lane
are sticky about non-PIC code in shared libraries. Windows will have to find another solution (probably similar to the way libpq does it).
2004-05-20Rename static variables to avoid possible name conflicts on systems withTom Lane
dirty standard headers (eg AIX).
2004-05-20Small variable rename in exec.c.Bruce Momjian
2004-05-20Clean up find_my_exec to work cleaner.Bruce Momjian
Add Win32 code to look in the current directory before the path. Add code so memory is allocated using palloc in backend object files.
2004-05-20Fix speling.Tom Lane
2004-05-20Add ctype.h include for new macro in port.h.Bruce Momjian
2004-05-20Add $libdir to mingw and cygwin for installcheck too.Bruce Momjian
2004-05-19Improve error reporting behavior in parse_hba(): give more completeTom Lane
error report for getaddrinfo failures, point at correct token for syntax errors in all cases, don't log redundant messages.
2004-05-19Rename another irix file.Bruce Momjian
2004-05-19Rename irix5 port to irix.Bruce Momjian
2004-05-19Add end-of-dump markers for pg_dump and pg_dumpall.Bruce Momjian
2004-05-19Only do pkglib_path if needed.Bruce Momjian
2004-05-19Only do find_my_exec if it doesn't come from the postmaster.Bruce Momjian
2004-05-19Add get_pkglib_path to postmaster.cBruce Momjian
2004-05-19Move find_my_exec lower so elog() works, per Tom.Bruce Momjian
2004-05-19Re-add elog() to exec.c, per Tom.Bruce Momjian
2004-05-19Add MinGW to cases where libdir should be used for regression tests:Bruce Momjian
case $host_platform in *-*-cygwin*|*-*-mingw) PATH=$libdir:$PATH export PATH ;; esac
2004-05-19Win32 needs -lpgport for dll creation of ecpglib.Bruce Momjian
2004-05-19Supress verbose stderr messages while trying to find my exec path.Bruce Momjian
Per report from Christopher.
2004-05-19Minor correction for previous SQLSTATE patch: I changed dsqrt() to emit theNeil Conway
right error code previously, and this patch applies an analogous change to numeric_sqrt().
2004-05-19Win32 can't have the same function coming from two library object files,Bruce Momjian
so we make is_absolute_path a macro so libpq doesn't use path.o.
2004-05-19Allow zic to compile by defining a "" value for my_exec_path. It isn'tBruce Momjian
used by zic anyway.
2004-05-18setRuleCheckAsUser has to be applied to any subqueries appearing in aTom Lane
rule's event_qual, not only to the rule's action. Per example from Arturs Zoldners.
2004-05-18Move get_pkglib_path up into main.c too.Bruce Momjian
2004-05-18Move find_my_exec() way up into main.c so it is available to theBruce Momjian
timezone code and other places. Remove elog() calls from find_my_exec; do fprintf(stderr) instead. We can then remove the exec.c handling in the makefile because it doesn't have to be built to suppress elog calls.
2004-05-18Update Makefile dependencies for Win32 timezones, per Claudio.Bruce Momjian
2004-05-18Clean up some relative path install issues with Claudio's help.Bruce Momjian
2004-05-17Reorganize code to allow path-relative installs.Bruce Momjian
Create new get_* functions to access compiled-in paths and adjust if relative installs are to be used. Clean up substitute_libpath_macro() code.
2004-05-17Rename backendbin to backend_exec in initdb.c.Bruce Momjian
2004-05-16Change ln(), log(), power(), and sqrt() to emit the correct SQLSTATENeil Conway
error codes for certain error conditions, as specified by SQL2003.
2004-05-14Remove an unused (and empty) header file.Neil Conway
2004-05-14Implement the width_bucket() function, per SQL2003. This commit only addsNeil Conway
a variant of the function for the 'numeric' datatype; it would be possible to add additional variants for other datatypes, but I haven't done so yet. This commit includes regression tests and minimal documentation; if we want developers to actually use this function in applications, we'll probably need to document what it does more fully.
2004-05-14Improve documentation for SQLSTATE error codes, per recent thread onNeil Conway
-patches.
2004-05-14Adjust find_my_exec/find_other_exec() so that the return parameter isBruce Momjian
last, not first. This fits our style better.
2004-05-14Remove extra 'then'.Bruce Momjian
2004-05-14Tighten parsing of boolean options to CREATE TYPE and related functions,Tom Lane
so as to deliver more useful error messages for mistakes like 'PASSEDBYVALUE = f'. Per gripe from Gaetano Mendola.
2004-05-14Propagate enlargeStringInfo() fixes into the equivalent code inTom Lane
pqexpbuffer.c. While a client-side failure doesn't seem like a security issue, it's still a bug.