- 04 Feb, 2004 1 commit
-
-
Neil Conway authored
is asked to assign a variable to itself, it will result in doing a memcpy() on an entirely-overlapping memory range, which results in undefined behavior according to ANSI C. That said, it is unlikely to actually do anything bad on any sane libc, but this keeps valgrind quiet.
-
- 03 Feb, 2004 4 commits
-
-
Tom Lane authored
-
Tom Lane authored
Make btree index creation and initial validation of foreign-key constraints use maintenance_work_mem rather than work_mem as their memory limit. Add some code to guc.c to allow these variables to be referenced by their old names in SHOW and SET commands, for backwards compatibility.
-
Bruce Momjian authored
> * Make pg_restore continue after errors, so it acts more like pg_dump scripts
-
Joe Conway authored
a series of numbers, optionally using an explicit step size other than the default value (one). Use function in the information_schema to replace hard-wired knowledge of INDEX_MAX_KEYS. initdb forced due to pg_proc change. Documentation update still needed -- will be committed separately.
-
- 02 Feb, 2004 12 commits
-
-
Bruce Momjian authored
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
palloc()$ Fixed. Thanks. > src/backend/postmaster/pgstat.c miss > #include "tcop/tcopprot.h" line. Fixed. > src/utils/dllinit.c wrong include header line at MinGW. > #include <cygwin/version.h> must be not included Fixed. > by the way, > I can't compile eccp because I used lower version bison. > and bin/pg_resetxlog too. in this case I can't find what's wrong. Fixed.
-
Neil Conway authored
valgrind: a buffer passed to strncmp() had to be NUL-terminated. Original report and patch from Dennis Bjorkland, some cleanup by Andrew Dunstan, and finally some editorializing from Neil Conway.
-
Bruce Momjian authored
-
Bruce Momjian authored
run.
-
Tom Lane authored
-fno-strict-aliasing.
-
Tom Lane authored
Not sure how this mistake evaded detection for so long.
-
Neil Conway authored
apparently corrupt the Tcl runtime. Per suggestion from Michael Brusser <michael@synchronicity.com>
-
Bruce Momjian authored
then release locks and loop over renaming to active file name.
-
Bruce Momjian authored
* configure + Makefile changes * shared memory attaching in EXEC_BACKEND case (+ minor fix for apparent cygwin bug under cygwin/EXEC_BACKEND case only) * PATH env var separator differences * missing win32 rand functions added * placeholder replacements for sync etc under port.h To those who are really interested, and there are a few of you: the attached patch + file will allow the source base to be compiled (and, for some definition, "run") under MingW, with the following caveats (I wanted to first properly fix all but the last of these, but y'all won't quit asking for a patch :-): * child death: SIGCHLD not yet sent, so as a minimum, you'll need to put in some sort of delay after StartupDatabase, and handle setting StartupPID to 0 etc (ie. the stuff the reaper() signal function is supposed to do) * dirmod.c: comment out the elog calls * dfmgr.c: some hackage required to substitute_libpath_macro * slru/xact.c: comment out the errno checking after the readdir (fixed by next version of MingW) Again, this is only if you *really* want to see postgres compile and start, and is a nice leg-up for working on the other Win32 TODO list items. Just don't expect too much else from it at this point... Claudio Natoli
-
- 01 Feb, 2004 3 commits
-
-
Bruce Momjian authored
-
Tom Lane authored
-
Tom Lane authored
some time ago and recent patch from Gavin Sherry. Update documentation to point out that trailing spaces are insignificant in char(n).
-
- 31 Jan, 2004 4 commits
-
-
Neil Conway authored
silence a valgrind warning.
-
Neil Conway authored
-
Neil Conway authored
appendStringInfo(buf, "%s", str); with appendStringInfoString(buf, str); as the latter form is slightly faster.
-
Tom Lane authored
case, per report from Korea PostgreSQL Users' Group. Also do some cosmetic cleanup in nearby code.
-
- 30 Jan, 2004 3 commits
-
-
Tom Lane authored
-
Bruce Momjian authored
and consistency. Change PG_USLEEP to use SleepEx() for signal interuptability.
-
Bruce Momjian authored
< > * Allow libpq to return information about prepared queries
-
- 29 Jan, 2004 1 commit
-
-
Neil Conway authored
term, not 'catenate'.
-
- 28 Jan, 2004 7 commits
-
-
Tom Lane authored
agreement with what the backend grammar actually accepts (which is a bit looser than what its documentation claims). Per report from Bill Moran, though I did not use his patch since it removed all the undocumented flexibility that the code historically had and the backend still has.
-
Tom Lane authored
whereToSendOutput instead because they are really inquiring about the correct client communication protocol. Update some comments. This is pointing towards supporting regular FE/BE client protocol in a standalone backend, per discussion a month or so back.
-
Tom Lane authored
-
Michael Meskes authored
-
Michael Meskes authored
- Fixed prototype for ECPGprepared_statement to not moan about "const char" - Fixed parsing of nested structures. - Added option to parse header files.
-
Tom Lane authored
unnecessary checks for complex grouping expressions: we cannot check whether the expressions are simple Vars until after we apply flatten_join_alias_vars, because in the case of FULL JOIN that routine can introduce non-Var expressions. Per example from Joel Knight.
-
Tom Lane authored
composite types, because TupleTableSlots aren't Datums and can't be stored in Const nodes. We can remove this restriction if we ever adopt a cleaner runtime representation for whole-tuple results, but at the moment it's broken. Per example from Thomas Hallgren.
-
- 27 Jan, 2004 4 commits
-
-
Neil Conway authored
Tom Lane for some editorial suggestions.
-
Tom Lane authored
possible failures due to stats collector not updating fast enough under heavy load. Per report from Jeremy Yoder.
-
Bruce Momjian authored
-
Bruce Momjian authored
against the latest shapshot. It also includes the replacement of kill() with pqkill() and sigsetmask() with pqsigsetmask(). Passes all tests fine on my linux machine once applied. Still doesn't link completely on Win32 - there are a few things still required. But much closer than before. At Bruce's request, I'm goint to write up a README file about the method of signals delivery chosen and why the others were rejected (basically a summary of the mailinglist discussions). I'll finish that up once/if the patch is accepted. Magnus Hagander
-
- 26 Jan, 2004 1 commit
-
-
Bruce Momjian authored
PostmasterPid variable, which gets set (early) in PostmasterMain getppid would not be the postmaster? [fork/exec] Implements processCancelRequest by keeping an array of pid/cancel_key structs in shared mem [fork/exec] Moves AttachSharedMemoryAndSemaphores call for backends into SubPostmasterMain [win32] Implements reaper/waitpid by keeping an arrays of children pids,handles in postmaster local mem - this item is largely untested, for reasons which should be obvious, but appears sound [win32/all] Added extern for pgpipe in Win32 case, and changed the second pipe call (which seems to have been missed earlier) to pgpipe [win32] #define'd ftruncate to chsize in the Win32 case [win32] PG_USLEEP for Win32 has a misplaced paren. Fixed. [win32] DLLIMPORT handling for MingW case Claudio Natoli
-