- Jun 18, 2004
-
-
Tom Lane authored
There are various things left to do: contrib dbsize and oid2name modules need work, and so does the documentation. Also someone should think about COMMENT ON TABLESPACE and maybe RENAME TABLESPACE. Also initlocation is dead, it just doesn't know it yet. Gavin Sherry and Tom Lane.
-
- Jun 17, 2004
-
-
Bruce Momjian authored
reference pages. Please apply. Alvaro Herrera
-
- Jun 16, 2004
-
-
Tom Lane authored
eliminating the former hard-wired convention about their names. Allow pg_cast entries to represent both type coercion and length coercion in a single step --- this is represented by a function that takes an extra typmod argument, just like a length coercion function. This nicely merges the type and length coercion mechanisms into something at least a little cleaner than we had before. Make use of the single- coercion-step behavior to fix integer-to-bit coercion so that coercing to bit(n) yields the rightmost n bits of the integer instead of the leftmost n bits. This should fix recurrent complaints about the odd behavior of this coercion. Clean up the documentation of the bit string functions, and try to put it where people might actually find it. Also, get rid of the unreliable heuristics in ruleutils.c about whether to display nested coercion steps; instead require parse_coerce.c to label them properly in the first place.
-
- Jun 14, 2004
-
-
Tom Lane authored
-
Bruce Momjian authored
< in-progress when the server terminates abruptly > in-progress when the server terminated abruptly
-
Bruce Momjian authored
< in-progress when the server crashed > in-progress when the server terminates abruptly
-
Bruce Momjian authored
< * Remove unreferenced table files and temp tables during database vacuum < or postmaster startup (Bruce) > * Remove unreferenced table files created by transactions that were > in-progress when the server crashed >
-
Bruce Momjian authored
> * Remove unreferenced table files and temp tables during database vacuum > or postmaster startup (Bruce)
-
- Jun 13, 2004
- Jun 12, 2004
-
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- Jun 11, 2004
-
-
Tom Lane authored
until Bind is received, so that actual parameter values are visible to the planner. Make use of the parameter values for estimation purposes (but don't fold them into the actual plan). This buys back most of the potential loss of plan quality that ensues from using out-of-line parameters instead of putting literal values right into the query text. This patch creates a notion of constant-folding expressions 'for estimation purposes only', in which case we can be more aggressive than the normal eval_const_expressions() logic can be. Right now the only difference in behavior is inserting bound values for Params, but it will be interesting to look at other possibilities. One that we've seen come up repeatedly is reducing now() and related functions to current values, so that queries like ... WHERE timestampcol > now() - '1 day' have some chance of being planned effectively. Oliver Jowett, with some kibitzing from Tom Lane.
-
Bruce Momjian authored
extensive change then what was suggested. I found the file path.c that contained a lot of "Unix/Windows" agnostic functions so I added a function there instead and removed the PATHSEP declaration in exec.c altogether. All to keep things from scattering all over the code. I also took the liberty of changing the name of the functions "first_path_sep" and "last_path_sep". Where I come from (and I'm apparently not alone given the former macro name PATHSEP), they should be called "first_dir_sep" and "last_dir_sep". The new function I introduced, that actually finds path separators, is now the "first_path_sep". The patch contains changes on all affected places of course. I also changed the documentation on dynamic_library_path to reflect the chagnes. Thomas Hallgren
-
- Jun 10, 2004
-
-
Bruce Momjian authored
> * -Print table names with constraint names in error messages, or make constraint
-
Bruce Momjian authored
< * Allow hash buckets to fill disk pages, rather than being sparse > * Pack hash index buckets onto disk pages more efficiently
-
Bruce Momjian authored
> * Allow pg_dump to use multiple -t and -n switches
-
Bruce Momjian authored
< * Order heap pointers on hash index pages by hash value and ctid > * Allow hash buckets to fill disk pages, rather than being sparse
-
Bruce Momjian authored
Euler Taveira de Oliveira
-
Bruce Momjian authored
> * Order heap pointers on hash index pages by hash value and ctid
-
- Jun 09, 2004
-
-
Tom Lane authored
As a side effect, cause subscripts in INSERT targetlists to do something more or less sensible; previously we evaluated such subscripts and then effectively ignored them. Another side effect is that UPDATE-ing an element or slice of an array value that is NULL now produces a non-null result, namely an array containing just the assigned-to positions.
-
Bruce Momjian authored
> * Add ON COMMIT capability to CREATE TABLE AS SELECT
-
- Jun 08, 2004
-
-
Bruce Momjian authored
-
- Jun 07, 2004
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
-
- Jun 06, 2004
-
-
Tom Lane authored
of a composite type to get that type's OID as their second parameter, in place of typelem which is useless. The actual changes are mostly centralized in getTypeInputInfo and siblings, but I had to fix a few places that were fetching pg_type.typelem for themselves instead of using the lsyscache.c routines. Also, I renamed all the related variables from 'typelem' to 'typioparam' to discourage people from assuming that they necessarily contain array element types.
-
- Jun 04, 2004
-
-
Bruce Momjian authored
change an old -not-working piece of code.
-
Bruce Momjian authored
reorganization processing, and it is clearer without the dash anyway.
-
- Jun 03, 2004
-
-
Bruce Momjian authored
environment variable processing to libpq. The patch also adds code to our client apps so we set the environment variable directly based on our binary location, unless it is already set. This will allow our applications to emit proper locale messages that are generated in libpq.
-
- Jun 02, 2004
-
-
Bruce Momjian authored
Specifically, point out that intersecting points in a path will yield (most likely), unexpected results. Visually these are identical paths, but mathematically they're not the same. Ex: area | plan ------ +----------------------------------------------------------------------- ------------------- -0 | ((0,0),(0,1),(2,1),(2,2),(1,2),(1,0),(0,0)) 2 | ((0,0),(0,1),(1,1),(1,2),(2,2),(2,1),(1,1),(1,0),(0,0)) The current algorithm for area(PATH) is very quick, but only handles non-intersecting paths. I'm going to work on two other functions for the PATH data type that determines if a PATH is intersecting or not, and a function that returns the area() for an intersecting PATH. The intersecting area() function will be considerably slower (I think it's going to be O(n!) or worse instead of the current O(n), but that comes with the territory). Sean Chittenden
-
Bruce Momjian authored
-
Bruce Momjian authored
Has docs + regression test. Christopher Kings-Lynne
-
- Jun 01, 2004
-
-
Tom Lane authored
of bug report #1150. Also, arrange that the object owner's irrevocable grant-option permissions are handled implicitly by the system rather than being listed in the ACL as self-granted rights (which was wrong anyway). I did not take the further step of showing these permissions in an explicit 'granted by _SYSTEM' ACL entry, as that seemed more likely to bollix up existing clients than to do anything really useful. It's still a possible future direction, though.
-
- May 31, 2004
-
-
Bruce Momjian authored
-
Bruce Momjian authored
> o -Allow Java server-side programming
-
Bruce Momjian authored
-