aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Add end-of-dump markers for pg_dump and pg_dumpall.Bruce Momjian2004-05-19
|
* Only do pkglib_path if needed.Bruce Momjian2004-05-19
|
* Only do find_my_exec if it doesn't come from the postmaster.Bruce Momjian2004-05-19
|
* Add get_pkglib_path to postmaster.cBruce Momjian2004-05-19
|
* Move find_my_exec lower so elog() works, per Tom.Bruce Momjian2004-05-19
|
* Re-add elog() to exec.c, per Tom.Bruce Momjian2004-05-19
|
* Add MinGW to cases where libdir should be used for regression tests:Bruce Momjian2004-05-19
| | | | | | | | | case $host_platform in *-*-cygwin*|*-*-mingw) PATH=$libdir:$PATH export PATH ;; esac
* Win32 needs -lpgport for dll creation of ecpglib.Bruce Momjian2004-05-19
|
* Supress verbose stderr messages while trying to find my exec path.Bruce Momjian2004-05-19
| | | | Per report from Christopher.
* Minor correction for previous SQLSTATE patch: I changed dsqrt() to emit theNeil Conway2004-05-19
| | | | | right error code previously, and this patch applies an analogous change to numeric_sqrt().
* Win32 can't have the same function coming from two library object files,Bruce Momjian2004-05-19
| | | | so we make is_absolute_path a macro so libpq doesn't use path.o.
* Allow zic to compile by defining a "" value for my_exec_path. It isn'tBruce Momjian2004-05-19
| | | | used by zic anyway.
* setRuleCheckAsUser has to be applied to any subqueries appearing in aTom Lane2004-05-18
| | | | | rule's event_qual, not only to the rule's action. Per example from Arturs Zoldners.
* Move get_pkglib_path up into main.c too.Bruce Momjian2004-05-18
|
* Move find_my_exec() way up into main.c so it is available to theBruce Momjian2004-05-18
| | | | | | | | 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.
* Update Makefile dependencies for Win32 timezones, per Claudio.Bruce Momjian2004-05-18
|
* Clean up some relative path install issues with Claudio's help.Bruce Momjian2004-05-18
|
* Reorganize code to allow path-relative installs.Bruce Momjian2004-05-17
| | | | | | | Create new get_* functions to access compiled-in paths and adjust if relative installs are to be used. Clean up substitute_libpath_macro() code.
* Rename backendbin to backend_exec in initdb.c.Bruce Momjian2004-05-17
|
* Change ln(), log(), power(), and sqrt() to emit the correct SQLSTATENeil Conway2004-05-16
| | | | error codes for certain error conditions, as specified by SQL2003.
* Remove an unused (and empty) header file.Neil Conway2004-05-14
|
* Implement the width_bucket() function, per SQL2003. This commit only addsNeil Conway2004-05-14
| | | | | | | | | 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.
* Improve documentation for SQLSTATE error codes, per recent thread onNeil Conway2004-05-14
| | | | -patches.
* Adjust find_my_exec/find_other_exec() so that the return parameter isBruce Momjian2004-05-14
| | | | last, not first. This fits our style better.
* Remove extra 'then'.Bruce Momjian2004-05-14
|
* Tighten parsing of boolean options to CREATE TYPE and related functions,Tom Lane2004-05-14
| | | | | so as to deliver more useful error messages for mistakes like 'PASSEDBYVALUE = f'. Per gripe from Gaetano Mendola.
* Propagate enlargeStringInfo() fixes into the equivalent code inTom Lane2004-05-14
| | | | | pqexpbuffer.c. While a client-side failure doesn't seem like a security issue, it's still a bug.
* Properly quote variable for makefile use.Bruce Momjian2004-05-14
|
* Move unixware thread stuff into Makefile.unixware.Bruce Momjian2004-05-14
|
* Force thread flags for all Unixware builds if threading is requested.Bruce Momjian2004-05-13
| | | | | This is required because once you link with a library that uses threads, all references to that library have to use thread flags.
* Reorganize backend code to more cleanly manage executable names andBruce Momjian2004-05-13
| | | | backend startup.
* No need for gcc thread stuff anymore, only cc.Bruce Momjian2004-05-13
|
* Remove warning about Unixware.Bruce Momjian2004-05-13
|
* Fix Win32 bug with missing errno for strerror().Bruce Momjian2004-05-13
|
* Tighten up overflow check in path_recv, pursuant to code review inspiredTom Lane2004-05-12
| | | | | | by Ken Ashcraft's report. I think there is no actual bug here since if the int32 value does wrap a little bit, palloc will still reject it. Still it's better that the code be obviously correct.
* Here's a patch that will allow external modules like pl<lang> to setBruce Momjian2004-05-12
| | | | | | | | additional flags for the dlltool and dllwrap commands. More info here: http://archives.postgresql.org/pgsql-hackers/2004-05/msg00350.php Thomas Hallgren
* Rename find_my_binary/find_other_binary toBruce Momjian2004-05-12
| | | | | | | | | find_my_exec/find_other_exec(). Remove passing of progname to these functions as they can find that out from argv[0], which they already have. Make get_progname return const char *, and update all progname variables to be const char *.
* Fix bug by passing arg[0] to find_my_binary().Bruce Momjian2004-05-12
|
* Yawn ... still another place not quite ready for zero-column tables.Tom Lane2004-05-11
|
* As part of the work for making relocatable installs, I have re-factoredBruce Momjian2004-05-11
| | | | | | | | | | | | all the code that looks for other binaries. I move FindExec into port/exec.c (and renamed it to find_my_binary()). I also added find_other_binary that looks for another binary in the same directory as the calling program, and checks the version string. The only behavior change was that initdb and pg_dump would look in the hard-coded bindir directory if it can't find the requested binary in the same directory as the caller. The new code throws an error. The old behavior seemed too error prone for version mismatches.
* Add tests to enlargeStringInfo() to avoid possible buffer-overrun orTom Lane2004-05-11
| | | | infinite-loop problems if a bogus data length is passed.
* Refactor low-level aclcheck code to provide useful interfaces for multi-bitTom Lane2004-05-11
| | | | | | | permissions tests in about the same amount of code as before. Exactly what the GRANT/REVOKE code ought to be doing is still up for debate, but this should be helpful in any case, and it already solves an efficiency problem in executor startup.
* Fix oversights in processing of LIMIT expressions during planning.Tom Lane2004-05-11
|
* Repair recalculation failure for nested sub-SELECTs, per bug report fromTom Lane2004-05-11
| | | | | | Didier Moens. Bug is new in 7.4, and was caused by not updating everyplace I should've when replacing locParam markers by allParam. Add a regression test to catch related errors in future.
* Clean up indenting of Makefile filenames.Bruce Momjian2004-05-10
|
* Promote row expressions to full-fledged citizens of the expression syntax,Tom Lane2004-05-10
| | | | | | | | | | rather than allowing them only in a few special cases as before. In particular you can now pass a ROW() construct to a function that accepts a rowtype parameter. Internal generation of RowExprs fixes a number of corner cases that used to not work very well, such as referencing the whole-row result of a JOIN or subquery. This represents a further step in the work I started a month or so back to make rowtype values into first-class citizens.
* Add variables names to static prototypes in initdb.c.Bruce Momjian2004-05-10
|
* - Argh, just another bug in adjust_informix.Michael Meskes2004-05-10
| | | | - Added "extern C" flags for C++ compiler. Hopefully I got that one right.
* Fix a couple of oversights in new ALTER TABLE code that brokeTom Lane2004-05-08
| | | | ALTER SET STATISTICS for functional indexes.
* Alter string format used for integer and OID lists in stored rules.Tom Lane2004-05-08
| | | | | | | | This simplifies and speeds up the reader by letting it get the representation right the first time, rather than correcting it after-the-fact. Also, after int and OID lists become separate node types per Neil's pending patch, this will let us treat these lists as just plain Nodes instead of requiring separate read/write macros the way we have now.