summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2005-01-28When dealing with multiple grouping columns coming from the same table,Tom Lane
clamp the estimated number of groups to table row count over 10, instead of table row count; this reflects a heuristic that people probably won't group over a near-unique set of columns, and the knowledge that we don't currently have any way to estimate the correlation of the columns better than guessing. This change creates a trivial plan change in one of the regression tests.
2005-01-28Improve planner's estimation of the space needed for HashAgg plans:Tom Lane
look at the actual aggregate transition datatypes and the actual overhead needed by nodeAgg.c, instead of using pessimistic round numbers. Per a discussion with Michael Tiemann.
2005-01-28pg_aggregate.h fails to compile standalone, for lack of an #includeTom Lane
defining List.
2005-01-28Adjust mkdir_p to do stat() before trying mkdir(). Avoids problems onTom Lane
Solaris and should be a little faster anyway, since in most scenarios all but perhaps the last path component will already exist.
2005-01-27Check that aggregate creator has the right to execute the transitionTom Lane
functions of the aggregate, at both aggregate creation and execution times.
2005-01-27Small patch to move get_grosysid() from catalog/aclchk.c toNeil Conway
utils/cache/lsyscache.c where it can be used by other things. Also cleans up both get_usesysid() and get_grosysid() a bit. From Stephen Frost.
2005-01-27Change heap_modifytuple() to require a TupleDesc rather than aNeil Conway
Relation. Patch from Alvaro Herrera, minor editorializing by Neil Conway.
2005-01-27Provide a more descriptive error message when the return type of an SRFNeil Conway
does not match what the query expected. From Brendan Jurd, minor editorializing by Neil Conway.
2005-01-27Generalize TRUNCATE to support truncating multiple tables in oneTom Lane
command. This is useful because we can allow truncation of tables referenced by foreign keys, so long as the referencing table is truncated in the same command. Alvaro Herrera
2005-01-27Add regression tests for recent cursor/savepoint bug fixed by Alvaro andNeil Conway
Tom.
2005-01-26Close all cursors created during a failed subtransaction. This is neededTom Lane
to avoid problems when a cursor depends on objects created or changed in the same subtransaction. We'd like to do better someday, but this seems the only workable answer for 8.0.1.
2005-01-26On Windows, set the postmaster executable's stack size to 4MB, so thatTom Lane
it agrees with the default value of max_stack_depth.
2005-01-26Minor tweak to avoid unnecessary memory bloat when dumping extremely wideTom Lane
column values in -d mode. Per report from Marty Scholes. This doesn't completely solve the issue, because we still need multiple copies of the field value, but at least one copy can be got rid of painlessly ...
2005-01-26Make pg_dump and pg_restore handle binary archive formats correctlyTom Lane
when using stdout/stdin on Windows.
2005-01-26Use SHGetFolderPath instead of SHGetSpecialFolderPath to find theTom Lane
APPDATA directory on Windows. Magnus Hagander
2005-01-25Fix breakage created by addition of separate 'acl pass' in pg_dump.Tom Lane
Also clean up incredibly poor style in TocIDRequired() usage.
2005-01-25Add missing "ko".Peter Eisentraut
2005-01-25Fixed segfault due to freeing a struct definition twice if it was a named ↵Michael Meskes
struct used in a typedef.
2005-01-25Regression tests for recent bugfix to ALTER TABLE ADD COLUMN: ensure thatNeil Conway
constraints on domain types are properly enforced, even if the newly added column has no default value. Per bug #1433.
2005-01-24Fix ALTER TABLE ADD COLUMN so that constraints of domain types areTom Lane
enforced properly when there is no explicit default value for the new column. Per report from Craig Perras.
2005-01-24Disallow LOAD to non-superusers. Per report from John Heasman.Tom Lane
2005-01-24Fix memory leak in rtdosplit, per report from Clive Page.Tom Lane
2005-01-23Document why CREATE CONSTRAINT TRIGGER doesn't tab complete.Bruce Momjian
2005-01-23The result of a FULL or RIGHT join can't be assumed to be sorted by theTom Lane
left input's sorting, because null rows may be inserted at various points. Per report from Ferenc Lutischá¸n.
2005-01-23Add tools/find_gt_lt to find < and > in SGML source.Bruce Momjian
Lowercase some uppercase tags so tools is more reliable at finding problems.
2005-01-23pg_dump dumped the wrong tablespace for an index (ie, the parent table'sTom Lane
tablespace instead of the index's own), except when the index was created as a constraint. Report and fix by Tanida Yutaka.
2005-01-23New routine _getObjectDescription() failed to cope with some aspects ofTom Lane
pre-7.3 pg_dump archive files: namespace isn't there, and in some cases te->tag may already be quotified. Per report from Alan Pevec and followup testing.
2005-01-22Mention issue with < and > in docs.Bruce Momjian
2005-01-22This patch updates the regression tests to allow "make installcheck" toNeil Conway
pass if "default_with_oids" is set to false. I took the approach of explicitly adding WITH OIDS to the CREATE TABLEs where necessary, rather than tweaking the default_with_oids GUC var.
2005-01-20Trivial fix: remove some stray leading whitespace.Neil Conway
2005-01-19Refactor transformExpr() by creating separate functions for most of theNeil Conway
expression types.
2005-01-19Add some basic regression tests for refcursors in PL/PgSQL.Neil Conway
2005-01-18This patch makes some improvements to the rtree index implementation:Neil Conway
(1) Keep a pin on the scan's current buffer and mark buffer. This avoids the need to do a ReadBuffer() for each tuple produced by the scan. Since ReadBuffer() is expensive, this is a significant win. (2) Convert a ReleaseBuffer(); ReadBuffer() pair into ReleaseAndReadBuffer(). Surely not a huge win, but it saves a lock acquire/release... (3) Remove a bunch of duplicated code in rtget.c; make rtnext() handle both the "initial result" and "subsequent result" cases. (4) Add support for index tuple killing (5) Remove rtscancache(): it is dead code, for the same reason that gistscancache() is dead code (an index scan ought not be invoked with NoMovementScanDirection). The end result is about a 10% improvement in rtree index scan perf, according to contrib/rtree_gist/bench.
2005-01-18Replace the use of "0" with "NULL" where appropriate in dllist.c, forNeil Conway
good style and to satisfy sparse. From Alvaro Herrera.
2005-01-18Win32 8.1 stamp.Bruce Momjian
2005-01-18Update version stamps for 8.1 as listed in RELEASE_CHANGES.Bruce Momjian
2005-01-17Translation updatesPeter Eisentraut
2005-01-17its that time ... tag it for releaseREL8_0_0PostgreSQL Daemon
2005-01-17Translation updatesPeter Eisentraut
2005-01-17Translation updatesPeter Eisentraut
2005-01-17Translation updatesPeter Eisentraut
2005-01-17Fix format string error.Peter Eisentraut
2005-01-17This trivial patch adds a regression test for CASE expressions that useNeil Conway
an untyped literal in the CASE's test expression. This adds test coverage for a bug that was fixed by Tom on January 12.
2005-01-17Translation updatesPeter Eisentraut
2005-01-17New translationPeter Eisentraut
2005-01-17Translation updatesPeter Eisentraut
2005-01-15Adjust warning message about Windows console code page to point toTom Lane
the right place in the docs, and gettext()ify it.
2005-01-15pg_regress now needs to know that Windows hasn't got unix sockets,Tom Lane
per Andrew Dunstan. Also, don't override the user's value of PGHOST in the 'make installcheck' case. I think the latter was an ill-considered workaround for the Windows code back when libpq didn't properly default to localhost on Unix-socket-less platforms.
2005-01-14postgres -boot would print the wrong program name in event of aTom Lane
failure in SelectConfigFiles(). Cosmetic issue, but ...
2005-01-14Update obsolete comment, per Alvaro.Tom Lane