- 02 Mar, 2006 5 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
> * Improve port/qsort() to handle sorts with 50% unique and 50% duplicate > value [qsort] > > This involves choosing better pivot points for the quicksort.
-
Tom Lane authored
then modified within the same transaction. The code was using a linked list of active PLpgSQL_expr structs, which was OK when it was written because plpgsql never released any parse data structures for the life of the backend. But since Neil fixed plpgsql's memory management, elements of the linked list could be freed, leading to crash when the list is chased. Per report and test case from Kris Jurka.
-
Tom Lane authored
make use of the recently added ability to create a shell type explicitly. I also put in place some infrastructure to allow dump/no dump decisions to be made separately for each database object, rather than the former hardwired 'dump if in a dumpable schema' policy. This was needed anyway for shell types so now seemed a convenient time to do it. The flexibility isn't exposed to the user yet, but is ready for future extensions.
-
- 01 Mar, 2006 8 commits
-
-
Neil Conway authored
regression tests to account for the new error message wording. It seems today is not my day...
-
Bruce Momjian authored
-
Bruce Momjian authored
Robert Treat
-
Neil Conway authored
error messages I made yesterday -- thanks to Andrew Dunstan for reporting this, and my apologies for missing it the first time.
-
Bruce Momjian authored
-
Neil Conway authored
are unnecessarily allocated on the heap rather than the stack. If the StringInfo doesn't outlive the stack frame in which it is created, there is no need to allocate it on the heap via makeStringInfo() -- stack allocation is faster. While it's not a big deal unless the code is in a critical path, I don't see a reason not to save a few cycles -- using stack allocation is not less readable. I also cleaned up a bit of code along the way: moved variable declarations into a more tightly-enclosing scope where possible, fixed some pointless copying of strings in dblink, etc.
-
Neil Conway authored
more compliant with the error message style guide. In particular, errdetail should begin with a capital letter and end with a period, whereas errmsg should not. I also fixed a few related issues in passing, such as fixing the repeated misspelling of "lexeme" in contrib/tsearch2 (per Tom's suggestion).
-
Bruce Momjian authored
-
- 28 Feb, 2006 11 commits
-
-
Neil Conway authored
-
Tom Lane authored
creation of a shell type. This allows a less hacky way of dealing with the mutual dependency between a datatype and its I/O functions: make a shell type, then make the functions, then define the datatype fully. We should fix pg_dump to handle things this way, but this commit just deals with the backend. Martijn van Oosterhout, with some corrections by Tom Lane.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Neil Conway authored
does not return None, per suggestion from Tom.
-
Neil Conway authored
(I didn't use his patch, however). A void-returning PL/Python function must return None (from Python), which is translated into a void datum (and *not* NULL) for Postgres. I also added some regression tests for this functionality.
-
Bruce Momjian authored
* Split out libpq pgpass and environment documentation sections to make it easier for non-developers to find
-
Bruce Momjian authored
backend version in C using > and < comparisons.
-
Tom Lane authored
when the passed-down eflags indicate they can. Simon Riggs and Tom Lane
-
Tom Lane authored
bits indicating which optional capabilities can actually be exercised at runtime. This will allow Sort and Material nodes, and perhaps later other nodes, to avoid unnecessary overhead in common cases. This commit just adds the infrastructure and arranges to pass the correct flag values down to plan nodes; none of the actual optimizations are here yet. I'm committing this separately in case anyone wants to measure the added overhead. (It should be negligible.) Simon Riggs and Tom Lane
-
- 27 Feb, 2006 3 commits
-
-
Peter Eisentraut authored
particular get rid of single quotes around language names and old WITH () construct.
-
Peter Eisentraut authored
by David Fetter
-
Bruce Momjian authored
-
- 26 Feb, 2006 7 commits
-
-
Tom Lane authored
each tuple, as per my proposal of several days ago. Also, clean up sort memory management by keeping all working data in a separate memory context, and refine the handling of low-memory conditions.
-
Neil Conway authored
-
Bruce Momjian authored
> * -Add 'tid != tid ' operator for use in corruption recovery
-
Neil Conway authored
Kirkwood, minor improvements by Neil Conway. The regression tests have been updated and the catversion has been bumped.
-
Neil Conway authored
-
Neil Conway authored
-
Neil Conway authored
- "Add ON COMMIT capability to CREATE TABLE AS ... SELECT" is done - "Allow PREPARE to automatically determine parameter types" is done - "Clean up compiler warnings (especially with gcc version 4)" is done: AFAIK there are no remaining gcc4 compiler warnings to be fixed. - Creating rules to do view updates is *not* an easy TODO item
-
- 25 Feb, 2006 4 commits
-
-
-
Bruce Momjian authored
> o Allow infinite dates and intervals just like infinite timestamps
-
Bruce Momjian authored
-
Bruce Momjian authored
< o %Disallow dropping of an inherited constraint
-
- 24 Feb, 2006 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-