| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
overrunning the array, not after.
|
|
|
|
|
| |
minimally-invasive fix for stable branches; a cleaner fix will be
committed to HEAD soon.
|
|
|
|
|
|
|
| |
there are corner cases involving dropping toasted columns in which the
previous coding would fail, too: the new version of the table might not
have any TOAST table, but we'd still propagate possibly-wide values of
dropped columns forward.
|
|
|
|
|
| |
database: aggregates should be dumped in the same pass as operators,
not in the same pass as functions.
|
|
|
|
|
| |
This refactoring does not change any algorithms or data structures, just
remove visibility of the ARC datastructures from other source files.
|
|
|
|
| |
two arguments. Per suggestions from A. Ogawa.
|
|
|
|
|
|
|
|
| |
form of CASE (eg, CASE 0 WHEN 1 THEN ...) can be constant-folded as it
was in 7.4. Also, avoid constant-folding result expressions that are
certainly unreachable --- the former coding was a bit cavalier about this
and could generate unexpected results for all-constant CASE expressions.
Add regression test cases. Per report from Vlad Marchenko.
|
|
|
|
| |
command counter more than necessary. Per report from Michael Fuhr.
|
|
|
|
|
|
|
| |
estimate to less than the number of values estimated for any one grouping
Var, as suggested by Manfred. This is intuitively right, and what's
more it puts the plan choices in the subselect regression test back the
way they were before ...
|
|
|
|
|
|
| |
initially NULL. For 8.0 we changed the main executor to have this
behavior in an UPDATE of an array column, but plpgsql's equivalent case
was overlooked. Per report from Sven Willenberger.
|
|
|
|
|
| |
fix bug with inconsistent selection of default mask length for
"class D" addresses. Per report from Steve Atkins.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
to a refcursor declaration are specified. This is a minimally-invasive fix
for the buffer overrun -- a more thorough cleanup will be checked into
HEAD.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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 ...
|
| |
|