| Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
defining List.
|
|
Solaris and should be a little faster anyway, since in most scenarios
all but perhaps the last path component will already exist.
|
|
functions of the aggregate, at both aggregate creation and execution times.
|
|
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.
|
|
Relation. Patch from Alvaro Herrera, minor editorializing by
Neil Conway.
|
|
does not match what the query expected. From Brendan Jurd, minor
editorializing by Neil Conway.
|
|
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
|
|
Tom.
|
|
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.
|
|
it agrees with the default value of max_stack_depth.
|
|
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 ...
|
|
when using stdout/stdin on Windows.
|
|
APPDATA directory on Windows. Magnus Hagander
|
|
Also clean up incredibly poor style in TocIDRequired() usage.
|
|
|
|
struct used in a typedef.
|
|
constraints on domain types are properly enforced, even if the newly
added column has no default value. Per bug #1433.
|
|
enforced properly when there is no explicit default value for the new
column. Per report from Craig Perras.
|
|
|
|
|
|
|
|
left input's sorting, because null rows may be inserted at various points.
Per report from Ferenc Lutischá¸n.
|
|
Lowercase some uppercase tags so tools is more reliable at finding
problems.
|
|
tablespace instead of the index's own), except when the index was created
as a constraint. Report and fix by Tanida Yutaka.
|
|
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.
|
|
|
|
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.
|
|
|
|
expression types.
|
|
|
|
(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.
|
|
good style and to satisfy sparse. From Alvaro Herrera.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
an untyped literal in the CASE's test expression. This adds test
coverage for a bug that was fixed by Tom on January 12.
|
|
|
|
|
|
|
|
the right place in the docs, and gettext()ify it.
|
|
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.
|
|
failure in SelectConfigFiles(). Cosmetic issue, but ...
|
|
|