- 24 Jan, 2004 2 commits
-
-
Dennis Bjorklund authored
-
Tom Lane authored
IN (sub-SELECT) constructs. We must force a clauseless join of the sub-select member relations, but it wasn't happening because the code thought it would be able to use the join clause arising from the IN.
-
- 23 Jan, 2004 5 commits
-
-
Tom Lane authored
that it's good to join where there are join clauses rather than where there are not. Also enable it to generate bushy plans at need, so that it doesn't fail in the presence of multiple IN clauses containing sub-joins. These changes appear to improve the behavior enough that we can substantially reduce the default pool size and generations count, thereby decreasing the runtime, and yet get as good or better plans as we were getting in 7.4. Consequently, adjust the default GEQO parameters. I also modified the way geqo_effort is used so that it affects both population size and number of generations; it's now useful as a single control to adjust the GEQO runtime-vs-plan-quality tradeoff. Bump geqo_threshold to 12, since even with these changes GEQO seems to be slower than the regular planner at 11 relations.
-
Bruce Momjian authored
> * Improve CREATE SCHEMA regression test
-
Bruce Momjian authored
-
Bruce Momjian authored
> * Allow column-level privileges
-
Neil Conway authored
patch: a 3-value enum was mistakenly assigned directly to a 'bool' in transformCreateStmt(). Along the way, change makeObjectName() to be static, as it isn't used outside analyze.c
-
- 22 Jan, 2004 7 commits
-
-
Peter Eisentraut authored
-
Tom Lane authored
7.1, because the path interpretation it embodies has been wrong since 7.1.
-
Neil Conway authored
-
Tom Lane authored
Per report from Mattias Kregert.
-
Dennis Bjorklund authored
-
Tom Lane authored
when scanning a table that we need all the columns from. In case of SELECT INTO, we have to check that the hasoids flag matches the desired output type, too. Per report from Mike Mascari.
-
Tom Lane authored
field anymore.
-
- 21 Jan, 2004 6 commits
-
-
Tom Lane authored
default value for geqo_effort is supposed to be 40, not 1. The actual 'genetic' component of the GEQO algorithm has been practically disabled since 7.1 because of this mistake. Improve documentation while at it.
-
Tom Lane authored
-
Tom Lane authored
conversion_create.sql be empty (except for a helpful comment) in this case. Allows initdb to succeed with --disable-shared.
-
Tom Lane authored
gets us past 'make install', but initdb still fails for lack of conversion libraries ...
-
Michael Meskes authored
-
Dennis Bjorklund authored
-
- 20 Jan, 2004 3 commits
-
-
Tom Lane authored
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.
-
Tom Lane authored
constant. Per Kris Jurka.
-
Tom Lane authored
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
-
- 19 Jan, 2004 10 commits
-
-
Tom Lane authored
-
Tom Lane authored
editing of this text had left nearly contradictory statements in adjacent paragraphs ...
-
PostgreSQL Daemon authored
missed a few files
-
PostgreSQL Daemon authored
JDBC is now on GBorg
-
Tom Lane authored
should not be too eager to reject paths involving unknown schemas, since it can't really tell whether the schemas exist in the target database. (Also, when reading pg_dumpall output, it could be that the schemas don't exist yet, but eventually will.) ALTER USER SET has a similar issue. So, reduce the normal ERROR to a NOTICE when checking search_path values for these commands. Supporting this requires changing the API for GUC assign_hook functions, which causes the patch to touch a lot of places, but the changes are conceptually trivial.
-
Teodor Sigaev authored
-
Peter Eisentraut authored
-
Tom Lane authored
we have detected that an IN subquery must return unique results.
-
Tom Lane authored
UNION/INTERSECT/EXCEPT (without ALL). This adds on to the previous optimization for subqueries using DISTINCT.
-
Tom Lane authored
dynamically loaded C functions). Some limited testing suggests that this puts the lookup speed for external functions just about on par with built-in functions. Per discussion with Eric Ridge.
-
- 18 Jan, 2004 3 commits
-
-
Peter Eisentraut authored
-
Tom Lane authored
in a COPY error message. It seems that glibc gets indigestion if it is asked to truncate strings that contain invalid UTF-8 encoding sequences. vsnprintf will return -1 in such cases, leading to looping and eventual memory overflow in elog.c. Instead use our own, more robust pg_mbcliplen routine. I believe this problem accounts for several recent reports of unexpected 'out of memory' errors during COPY IN.
-
Tom Lane authored
check instead of hardwiring assumptions that only certain plan node types can appear at the places where we are testing. This was always a pretty fragile assumption, and it turns out to be broken in 7.4 for certain cases involving IN-subselect tests that need type coercion. Also, modify code that builds finished Plan tree so that node types that don't do projection always copy their input node's targetlist, rather than having the tlist passed in from the caller. The old method makes it too easy to write broken code that thinks it can modify the tlist when it cannot.
-
- 17 Jan, 2004 1 commit
-
-
Tom Lane authored
a run-time key (that is, a nonconstant expression compared to the index variable), the key is evaluated just once per scan, but we were charging costs as though it were evaluated once per visited index entry.
-
- 16 Jan, 2004 1 commit
-
-
Tom Lane authored
tuptoaster.c --- fields that are compressed in-line are not a reason to invoke the toaster. Along the way, add a couple more htup.h macros to eliminate confusing negated tests, and get rid of the already vestigial TUPLE_TOASTER_ACTIVE symbol.
-
- 15 Jan, 2004 2 commits
-
-
Peter Eisentraut authored
as the result of the SGML-based tool chain.
-
Jan Wieck authored
ARC buffer replacement strategy. Jan
-