aboutsummaryrefslogtreecommitdiff
path: root/src/bin
Commit message (Collapse)AuthorAge
* 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.
* No need to link libpq into these programs ...Tom Lane2004-02-10
|
* Add missing dependency, per Wade Klaver.Tom Lane2004-02-07
|
* 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.
* > 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.
* 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
* 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
|
* Fix (debatable) spelling mistake in a comment: 'concatenate' is the usualNeil Conway2004-01-29
| | | | term, not 'catenate'.
* Make USING and WITH optional to bring the syntax of \copy into exactTom Lane2004-01-28
| | | | | | | | 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.
* Ensure that close() and fclose() are checked for errors, at least inTom Lane2004-01-26
| | | | | | cases involving writes. Per recent discussion about the possibility of close-time failures on some filesystems. There is a TODO item for this, too.
* More fallout from the recent psql patch: rename xmalloc and friends toNeil Conway2004-01-25
| | | | pg_malloc, to avoid linker failures on same platforms.
* Revert the change to print.c, as this breaks src/bin/scripts. The properNeil Conway2004-01-24
| | | | | | way to fix this is probably implementing safe memory handling functions once in a static lib and then using that in the various client apps, but for the moment I've just reverted the change to un-break the tree.
* This patch makes some of the memory manipulation performed by psql aNeil Conway2004-01-24
| | | | | | | little more sane. Some parts of the code was using a static function xmalloc() that did safe memory allocation (where "safe" means "bail out on OOM"), but most of it was just invoking calloc() or malloc() directly. Now almost everything invokes xmalloc() or xcalloc().
* Translation updatePeter Eisentraut2004-01-22
|
* Fix incorrect dumping of database LOCATION from 7.0.* servers.Tom Lane2004-01-22
| | | | Per report from Mattias Kregert.
* Ensure fflush(stdout) happens in all cases, per gripe from Jon Sablatnig.Tom Lane2004-01-21
|
* Implement '\copy from -' to support reading copy data from the sameTom Lane2004-01-20
| | | | | | source the \copy came from. Also, fix prompting logic so that initial and per-line prompts appear for all cases of reading from an interactive terminal. Patch by Mark Feit, with some kibitzing by Tom Lane.
* This is a patch to support readline prompts which contain non-printingTom Lane2004-01-20
| | | | | | | characters, as for fancy colorized prompts. This was nearly a direct lift from bash-2.05b's lib/readline/display.c, per guidance from Chet Ramey. Reece Hart
* Translation updatePeter Eisentraut2004-01-18
|
* Translation updatesDennis Bjorklund2004-01-14
|
* Mark string for translation.Dennis Bjorklund2004-01-11
|
* Translation updatesDennis Bjorklund2004-01-11
|
* Translation updatesDennis Bjorklund2004-01-11
|
* Translation updatesPeter Eisentraut2004-01-10
|
* Translation updatesDennis Bjorklund2004-01-10
|
* Make non-wait pg_ctl start/stop message more accurate.Bruce Momjian2004-01-10
|
* Allow BEGIN WORK to specify transaction isolation level, like STARTBruce Momjian2004-01-10
| | | | TRANSACTION.
* Have psql help show \w parameter as requied.Bruce Momjian2004-01-09
|
* Allow psql to handle tilde user expansion for file names.Bruce Momjian2004-01-09
| | | | Zach Irmen
* Translation updatesDennis Bjorklund2004-01-09
|
* Fix incorrect SQL syntax emitted when -E is given without -P.Tom Lane2004-01-09
| | | | Report and fix from Martin Pitt.
* Translation updatesDennis Bjorklund2004-01-08
|
* Translation updatesDennis Bjorklund2004-01-08
|
* Translation updatesDennis Bjorklund2004-01-07
|
* pg_dump support for function parameter names.Tom Lane2004-01-07
|
* Translation updatesPeter Eisentraut2004-01-05
|
* Fix ReadOffset() to work correctly when off_t is wider than int.Tom Lane2004-01-04
|
* Do an explicit fflush after writing a progress message with puts.Tom Lane2004-01-01
| | | | | This ensures stdout is kept in sync with messages on stderr. Per report from Olaf Ferger.
* Supress non-temp schemas from psql \dn display.Bruce Momjian2003-12-23
|
* Fix a number of places where reconfiguring with a different installationTom Lane2003-12-23
| | | | | prefix would fail, because the new path did not get propagated to where it needed to be. Note this would fail even with --enable-depend.
* Fix compile warning.Tom Lane2003-12-23
|
* Forbid REVOKE on untrusted languages, and don't dump privileges ofPeter Eisentraut2003-12-19
| | | | untrusted languages (in case they sneak in).
* Add missing $(X).Peter Eisentraut2003-12-19
|
* Remove pg_id.Peter Eisentraut2003-12-17
|
* New translationPeter Eisentraut2003-12-11
|
* Work around naming conflict between zlib and OpenSSL by tweaking inclusionTom Lane2003-12-08
| | | | order. Remove some unnecessary #includes (that duplicate c.h).
* One more pass at reducing the cost of pg_dump's new implementation:Tom Lane2003-12-07
| | | | | | | | reduce the number of times TopoSort() has to be executed by trying to extract multiple dependency loops from each pass, instead of only one. This saves about another factor of ten on the regression database. This could be considered as another exercise in grokking Fred Brooks' maxim: Representation *is* the essence of programming.
* Speed up findObjectByCatalogId() to get rid of the other salientTom Lane2003-12-07
| | | | bottleneck in the new pg_dump code.
* Replace not-very-bright implementation of topological sort with a betterTom Lane2003-12-06
| | | | | | one (use a priority heap to keep track of items ready to output, instead of searching the input array each time). This brings the runtime of pg_dump back to about what it was in 7.4.