summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Update for new tests. These are extrapolations and will need to be confirmedTom Lane2000-12-032-76/+1488
| | | | correct on the relevant platforms.
* Update for new tests.Tom Lane2000-12-031-0/+706
|
* Don't use 'private' as a parameter name in visible headers ... makes C++Tom Lane2000-12-033-10/+11
| | | | very unhappy ...
* Fix counting of lines in scripts with 'copy from stdin'.Peter Eisentraut2000-12-031-1/+4
|
* Repair usage of the OVERLAPS operator.Thomas G. Lockhart2000-12-0311-203/+1032
| | | | | | | | Allow some operator-like tokens to be used as function names. Flesh out support for time, timetz, and interval operators and interactions. Regression tests pass, but non-reference-platform horology test results will need to be updated.
* Convert files from DOS format to normal text.Thomas G. Lockhart2000-12-034-258/+258
|
* Support IBM S/390. Patches from Neale Ferguson@softwareAG-usa.com.Thomas G. Lockhart2000-12-031-1/+24
|
* Final(?) GUC clean-up. Update psql tab completion.Peter Eisentraut2000-12-032-9/+29
|
* Disable elog(ERROR|FATAL) in signal handlers inVadim B. Mikheev2000-12-0312-29/+94
| | | | critical sections of code.
* Avoid memory leakage during regular COPY when outputting toasted values.Tom Lane2000-12-021-110/+75
| | | | COPY BINARY is still broken for toasted data, however.
* Avoid repeated detoasting (and possible memory leaks) when processingTom Lane2000-12-022-36/+64
| | | | a toasted datum in VACUUM ANALYZE.
* Don't cause --enable-cassert to define COPY_PARSE_PLAN_TREES automaticallyTom Lane2000-12-021-16/+22
| | | | | | | | anymore. That won't teach us anything new for the rest of this release cycle, so it seems better to keep the --assert environment more like the non-assert environment for beta. I'm going to leave CLOBBER_FREED_MEMORY and MEMORY_CONTEXT_CHECKING turned on by --enable-cassert for now, however.
* Make tuple receive/print routines TOAST-aware. Formerly, printtup wouldTom Lane2000-12-014-108/+172
| | | | | leak memory when printing a toasted attribute, and printtup_internal didn't work at all...
* Fix inadequate tree-walking code in exec_eval_clear_fcache.Tom Lane2000-12-011-23/+27
|
* Make elog() switch to ErrorContext while invoking libpq output routines,Tom Lane2000-12-011-10/+27
| | | | | | since those routines may do palloc's. We want to be fairly sure we can send the error message to the client even under low-memory conditions. That's what we stashed away 8K in ErrorContext for, after all ...
* Pursuant to a pghackers discussion back around 11-Jul-00, get rid of aset.c'sTom Lane2000-12-012-189/+205
| | | | | | | not-very-good handling of mid-size allocation requests. Do everything via either the "small" case (chunk size rounded up to power of 2) or the "large" case (pass it straight off to malloc()). Increase the number of freelists a little to set the breakpoint between these behaviors at 8K.
* It seems appropriate that the extended MEMORY_CONTEXT_CHECKING codeTom Lane2000-12-011-16/+27
| | | | | immediately uncovered three of Karel's own bugs, including a routine that scribbled on its input (naughty naughty!)
* Clean up MEMORY_CONTEXT_CHECKING code, and apply it more thoroughly. Also,Tom Lane2000-12-012-174/+207
| | | | | apply Karel Zak's patch to recycle residual space in an exhausted allocation block. (Bet you thought I'd forgot about that, Karel?)
* Repair residual sillinesses from UUNET virtual host/socket path patch.Tom Lane2000-11-302-26/+35
| | | | I hope all the dust has settled out now ...
* Make default socket directory location configurable from config.h.Tom Lane2000-11-302-12/+24
| | | | | If we're going to let it be run-time configurable, might as well allow this too...
* Remove DISABLE_COMPLEX_MACRO definitions, since people seem to be gettingPeter Eisentraut2000-11-303-10/+0
| | | | | | | by without them. Don't check for preprocessor symbols from system header files in port include files, since those header files aren't included at this point.
* Remove old regression test drivers.Peter Eisentraut2000-11-305-894/+0
|
* Make all commands that link a program look likePeter Eisentraut2000-11-3015-41/+45
| | | | | | | $(CC) $(CFLAGS) $(LDFLAGS) <object files> <extra-libraries> $(LIBS) -o $@ This form seemed to be the most portable, readable, and logical, but in any case it's better than having a dozen different ones in the tree.
* miscVadim B. Mikheev2000-11-301-0/+4
|
* Hope that this is valid localbuf.c versionVadim B. Mikheev2000-11-302-59/+11
|
* Remove VARLENA_FIXED_SIZE hack, which is irreversibly broken now thatTom Lane2000-11-307-151/+122
| | | | | | | | both MULTIBYTE and TOAST prevent char(n) from being truly fixed-size. Simplify and speed up fastgetattr() and index_getattr() macros by eliminating special cases for attnum=1. It's just as fast to handle the first attribute by presetting its attcacheoff to zero; so do that instead when loading the tupledesc in relcache.c.
* Remove remaining unixsocket-setting interfaces, since the host parameterPeter Eisentraut2000-11-301-9/+6
| | | | | does that. Disable URL-style connection parameter specification code, which doesn't work.
* No more #ifdef XLOG.Vadim B. Mikheev2000-11-3036-3969/+308
|
* It seems some platforms declare kill(2) in signal.h not unistd.h.Tom Lane2000-11-301-1/+2
|
* XLOG stuff for sequences.Vadim B. Mikheev2000-11-3010-67/+241
| | | | CommitDelay in guc.c
* Rearrange bufmgr header files so that buf_internals.h need not beTom Lane2000-11-3013-74/+125
| | | | | | | included by everything that includes bufmgr.h --- it's supposed to be internals, after all, not part of the API! This fixes the conflict against FreeBSD headers reported by Rosenman, by making it unnecessary for s_lock.h to be included by plperl.c.
* all options are allowed if not under postmaster:Vadim B. Mikheev2000-11-301-3/+5
| | | | | SetConfigOption(name, value, (IsUnderPostmaster) ? PGC_BACKEND : PGC_POSTMASTER);
* Just noticed that with -S switch, MyProcPid is permanently wrong inTom Lane2000-11-291-2/+4
| | | | | | postmaster, because it isn't updated after forking away from the terminal. Apparently it's not used anyplace in the postmaster ... but seems best to make it show the correct PID ...
* Get rid of not-very-portable fcntl(F_SETLK) mechanism for locking the UnixTom Lane2000-11-298-390/+373
| | | | | | | | | socket file, in favor of having an ordinary lockfile beside the socket file. Clean up a few robustness problems in the lockfile code. If postmaster is going to reject a connection request based on database state, it will now tell you so before authentication exchange not after. (Of course, a failure after is still possible if conditions change meanwhile, but this makes life easier for a yet-to-be-written pg_ping utility.)
* aclitemout() shouldn't coredump when it finds an ACL itemTom Lane2000-11-282-13/+25
| | | | | for a now-vanished group. Instead, display the numeric group ID, same as it does for vanished users.
* Significant cleanups in SysV IPC handling (shared mem and semaphores).Tom Lane2000-11-2826-1701/+1144
| | | | | | | | | | | IPC key assignment will now work correctly even when multiple postmasters are using same logical port number (which is possible given -k switch). There is only one shared-mem segment per postmaster now, not 3. Rip out broken code for non-TAS case in bufmgr and xlog, substitute a complete S_LOCK emulation using semaphores in spin.c. TAS and non-TAS logic is now exactly the same. When deadlock is detected, "Deadlock detected" is now the elog(ERROR) message, rather than a NOTICE that comes out before an unhelpful ERROR.
* Remove PQunixsocket from dll file.Bruce Momjian2000-11-281-1/+0
|
* Remove PQunixsocket prototypeBruce Momjian2000-11-281-2/+1
|
* Remove PQunixsocket, per Peter's recommendation. PQhost shows the socket ↵Bruce Momjian2000-11-281-9/+1
| | | | directory.
* Make PQhost return socket path.Bruce Momjian2000-11-271-2/+2
|
* This patch allow pg_dump save name of primary key constraint (if primaryBruce Momjian2000-11-272-3/+52
| | | | | | key exist). awn@bcs.zp.ua
* Added pg_execute command behaving like spi_exec of PL/TclJan Wieck2000-11-273-3/+418
| | | | | | | | Made pg_lo_read and pg_lo_write binary data safe when libpgtcl is compiled against Tcl version 8.0 or higher. Jan
* Check for link(2) failure.Tom Lane2000-11-271-2/+6
|
* Not invoke CheckPoint process while postmaster is waiting for all backendsHiroshi Inoue2000-11-271-2/+2
| | | | to die.
* Pay attention to fgets() failure return.Tom Lane2000-11-271-12/+23
|
* Pay attention to fgets() failure return.Tom Lane2000-11-271-8/+15
|
* Be a little more careful with strtok().Tom Lane2000-11-271-2/+2
|
* Pay attention to fgets() failure return.Tom Lane2000-11-271-3/+5
|
* After going to the trouble of finding where psql lives, seems likeTom Lane2000-11-271-5/+5
| | | | | pg_ctl should invoke it from there, not use whatever random psql might (or might not) live in its $PATH.
* Pay attention to failure returns from fgets() in all cases.Tom Lane2000-11-275-15/+19
| | | | Avoid infinite loop prompting for password at stdin EOF.