aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Remove URL for specific pljava implementation:Bruce Momjian2004-02-12
| | | | | | < o Allow Java server-side programming, http://pljava.sourceforge.net < [java] > o Allow Java server-side programming [java]
* Check only live tuples for OID validity, to avoid issues after ALTERTom Lane2004-02-12
| | | | TABLE. Per recent discussion.
* Added hints about the reason, why the command string inJan Wieck2004-02-12
| | | | | | the view pg_stat_activity is missing, as per Bruces suggestion. Jan
* Commit the reasonably uncontroversial parts of J.R. Nield's PITR patch, toTom Lane2004-02-11
| | | | | | | | | | | wit: Add a header record to each WAL segment file so that it can be reliably identified. Avoid splitting WAL records across segment files (this is not strictly necessary, but makes it simpler to incorporate the header records). Make WAL entries for file creation, deletion, and truncation (as foreseen but never implemented by Vadim). Also, add support for making XLOG_SEG_SIZE configurable at compile time, similarly to BLCKSZ. Fix a couple bugs I introduced in WAL replay during recent smgr API changes. initdb is forced due to changes in pg_control contents.
* Repair some problems in bgwriter start/stop logic. In particular, don'tTom Lane2004-02-11
| | | | | | | allow the bgwriter to start before the startup subprocess has finished ... it tends to crash otherwise. (The same problem may have existed for the checkpointer, I'm not entirely sure.) Remove some code that was redundant because the bgwriter is handled as a member of the backend list.
* Add:Bruce Momjian2004-02-11
| | | | > o Disallow dropping of an inherited constraint
* Check and set thread-safe functions separately, rather than as a singleBruce Momjian2004-02-11
| | | | | | | | | | variable. Remove thread locking for non-thread-safe functions, instead throw a compile error. Platforms will have to re-run tools/thread to record their thread safety.
* Properly set NEED_REENTRANT_FUNCS for threaded libpq/ecpg.Bruce Momjian2004-02-11
| | | | Without this patch, no thread locking or *_r functions were being used.
* Does not apply anymore:Bruce Momjian2004-02-11
| | | | < * Make blind writes go through the file descriptor cache
* No need to link libpq into these programs ...Tom Lane2004-02-10
|
* SGML markup improvements.Neil Conway2004-02-10
|
* Add configure support for determining UINT64_FORMAT, the appropriateTom Lane2004-02-10
| | | | snprintf format for uint64 items.
* More clearly describe why PQinSend returns false for non-threaded libpq.Bruce Momjian2004-02-10
|
* Add URL for most current version.Bruce Momjian2004-02-10
|
* Repair missing inclusions of -lintl for shared libraries.Tom Lane2004-02-10
|
* Looks like we need <unistd.h> for select() on Darwin.Tom Lane2004-02-10
|
* Centralize implementation of delay code by creating a pg_usleep()Tom Lane2004-02-10
| | | | | | | | | subroutine in src/port/pgsleep.c. Remove platform dependencies from miscadmin.h and put them in port.h where they belong. Extend recent vacuum cost-based-delay patch to apply to VACUUM FULL, ANALYZE, and non-btree index vacuuming. By the way, where is the documentation for the cost-based-delay patch?
* Restructure smgr API as per recent proposal. smgr no longer depends onTom Lane2004-02-10
| | | | | | | | | the relcache, and so the notion of 'blind write' is gone. This should improve efficiency in bgwriter and background checkpoint processes. Internal restructuring in md.c to remove the not-very-useful array of MdfdVec objects --- might as well just use pointers. Also remove the long-dead 'persistent main memory' storage manager (mm.c), since it seems quite unlikely to ever get resurrected.
* Win32 signals cleanup. Patch by Magnus Hagander, with input from ClaudioNeil Conway2004-02-08
| | | | | | | | | | | | | | | | | | | | | | Natoli and Bruce Momjian (and some cosmetic fixes from Neil Conway). Changes: - remove duplicate signal definitions from pqsignal.h - replace pqkill() with kill() and redefine kill() in Win32 - use ereport() in place of fprintf() in some error handling in pqsignal.c - export pg_queue_signal() and make use of it where necessary - add a console control handler for Ctrl-C and similar handling on Win32 - do WaitForSingleObjectEx() in CHECK_FOR_INTERRUPTS() on Win32; query cancelling should now work on Win32 - various other fixes and cleanups
* Add mention of the developer's FAQ.Bruce Momjian2004-02-08
|
* Add mention of PostgreSQL as a community project.Bruce Momjian2004-02-08
|
* Add PITR web page:Bruce Momjian2004-02-08
| | | | | | | | < * Point-in-time data recovery using backup and write-ahead log < * Create native Win32 port, http://momjian.postgresql.org/main/writings/pgsql/win32.html > * Point-in-time data recovery using backup and write-ahead log, > http://momjian.postgresql.org/main/writings/pgsql/project/pitr.html > * Create native Win32 port, http://momjian.postgresql.org/main/writings/pgsql/project/win32.html
* Add missing dependency, per Wade Klaver.Tom Lane2004-02-07
|
* Cost based vacuum delay feature.Jan Wieck2004-02-06
| | | | Jan
* Documentation for generate_series() functions committed a few days ago.Joe Conway2004-02-05
|
* Backing out the background writer sync() option.Jan Wieck2004-02-04
| | | | Jan
* Use memmove() rather than memcpy() in set_var_from_var(). If this functionNeil Conway2004-02-04
| | | | | | | 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.
* pwdTom Lane2004-02-03
|
* Rename SortMem and VacuumMem to work_mem and maintenance_work_mem.Tom Lane2004-02-03
| | | | | | | 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.
* Add:Bruce Momjian2004-02-03
| | | | > * Make pg_restore continue after errors, so it acts more like pg_dump scripts
* Add function (actually an int4 and an int8 version) that generatesJoe Conway2004-02-03
| | | | | | | | 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.
* Win32 adjustments for dirmod and configure/configure.in.Bruce Momjian2004-02-02
|
* autoconf run.Tom Lane2004-02-02
|
* Set only LC_ALL for sort in tags creation.Bruce Momjian2004-02-02
|
* > src/backend/commands/user.c file has some parse error at repalloc(),Bruce Momjian2004-02-02
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix a read of uninitialized memory in next_token() of hba.c, spotted viaNeil Conway2004-02-02
| | | | | | 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.
* Adjustments for Win32-specific rename code, and add include file.Bruce Momjian2004-02-02
|
* Move win32 changes from configure to configure.in, per Tom, autoconfBruce Momjian2004-02-02
| | | | run.
* Do not let external specification of CFLAGS stop us from addingTom Lane2004-02-02
| | | | -fno-strict-aliasing.
* Avoid generating invalid character encoding sequences in make_greater_string.Tom Lane2004-02-02
| | | | Not sure how this mistake evaded detection for so long.
* Use Tcl_PutEnv() in place of putenv() in libpgtcl, as the latter canNeil Conway2004-02-02
| | | | | apparently corrupt the Tcl runtime. Per suggestion from Michael Brusser <michael@synchronicity.com>
* Adjust rename on Win32 to only link to temp name while holding lock,Bruce Momjian2004-02-02
| | | | then release locks and loop over renaming to active file name.
* Briefly,Bruce Momjian2004-02-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Set locale to C before doing sort in make_ctags.Bruce Momjian2004-02-01
|
* Update char_length() example for new semantics.Tom Lane2004-02-01
|
* Make length() disregard trailing spaces in char(n) values, per discussionTom Lane2004-02-01
| | | | | some time ago and recent patch from Gavin Sherry. Update documentation to point out that trailing spaces are insignificant in char(n).
* Fix a probably-harmless read of uninitialized memory in mkdir_p(), toNeil Conway2004-01-31
| | | | silence a valgrind warning.
* Remove a superfluous semi-colon.Neil Conway2004-01-31
|
* Micro-opt: replace calls likeNeil Conway2004-01-31
| | | | | | | appendStringInfo(buf, "%s", str); with appendStringInfoString(buf, str); as the latter form is slightly faster.
* Fix text_position to not scan past end of source string in multibyteTom Lane2004-01-31
| | | | | case, per report from Korea PostgreSQL Users' Group. Also do some cosmetic cleanup in nearby code.