Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
index tuple (logical position within A LEVEL). bti_oid & bti_dummy
taken off from BTItemData.
2. Fix for multi-column indices (nbtsearch.c):
_bt_binsrch() - for searches on internal pages having keysize <
number of attrs we point at the last item < the scankey, not at the
first item = the scankey;
_bt_moveright() - if keysize < number of attrs we compare scankey with
_last_ item on current page to decide should we move right or
not.
|
|
index tuple (logical position within A LEVEL). bti_oid & bti_dummy
taken off from BTItemData.
|
|
|
|
|
|
instead of as a -D
|
|
|
|
Morten Kjeldgaard <mok@monster.kemi.aau.dk>
|
|
but, IMHO, cleaner
|
|
Subject: [HACKERS] Money integration patches
Here are patches to integrate the money data type. I have included
some math and aggregate functions and have made the locale support optional
by #ifdef USE_LOCALE bracketing of functions.
Modules affected are:
builtins.h.patch
cash.c.patch
cash.h.patch
main.c.patch
pg_aggregate.h.patch
pg_operator.h.patch
pg_proc.h.patch
pg_type.h.patch
I changed the data type to be pass-by-reference rather than by-value
to pave the way for a larger internal representation (64-bit ints?).
Also, I changed the tabbing of cash.c and cash.h to match most of
the other Postgres source code files (4 space indent, 8 spaces == 1 tab).
The locale stuff should be tested under another convention (Russian?)
but I don't know what the correct results should be so perhaps someone
else can give them a try. Will update docs and regression tests in
the next few days.
|
|
invalid macro definitions, the compiler complains about:
"pqcomprim.c", line 48.9: 1506-275 (S) Unexpected text ';' ignored.
"pqcomprim.c", line 61.9: 1506-275 (S) Unexpected text ';' ignored.
The ';' terminating the macro definition ntoh_s(n) on line 27 and
ntoh_l(n) on line 28 should be removed.
Pointed out by: Olaf Mittelstaedt <MSTAEDT@va-sigi.va.fh-ulm.de>
|
|
Pointed out by many many ppl
|
|
Change BSD44_derived to __FreeBSD__ in numutils.c (need to know what
NetBSD is referred to as...someone?)
|
|
|
|
configure ([] have special means to m4 *sigh*)
|
|
file that has moved to include is also link'd properly
|
|
Makefile.global and move them to seperate 'include' makefiles
Over time, should become even more port specific:
ie. Makefile.BSD44_derived should be broken down into netbsd/freebsd
specific ports
|
|
|
|
Moved to include/port
|
|
Submitted by: adrian@waltham.harvard.net
|
|
header files.
Pointed out by: Edmund Mergl <E.Mergl@bawue.de>
|
|
Pointed out by: afc@teri.superlink.net
|
|
modification to c.h so that bool isn't typedef'd under __cplusplus
|
|
|
|
testing
|
|
Remove the TEST_MAIN stuff at the top...
|
|
|
|
- if someone can pick a better \? for this, plesae let me know...all
the good ones seem taken :(
|
|
|
|
Submitted by: adrian@waltham.harvard.net
|
|
but it gets rid of the temptation to modify the old source files :)
|
|
pg_proc.h still needs modifying, but this gets it in there so that we can
get around any compiler bugs. Will try and get the pg_proc.h entries done
up later tonight...
|
|
Subject: Re: [HACKERS] GEQO and views (rules)
Oke, this was caused by a classic bug :-/
I thougth, root->base_relation_list_ could be
represented as relid string 1-2-3-4- etc.
Instead, in case of views, the count of relids doesn't start with "1" but
maybe 4-5-6- etc . :-(
GEQO patch follows ... views are now all right.
|
|
varlena.c - part of Thomas' most recent patch
|
|
weighting factor */) in addition to
#define _CPU_PAGE_WEIGHT_ 0.065 (/* CPU-heap-to-page cost weighting factor
*/).
|
|
ATTNVALS_SCALE/reltuples (instead of reltuples).
|
|
2. PageWeights are variables now.
3. Fixed using ceil((double)selec*indextuples) as estimation
for expected heap pages: ceil((double)selec*relpages) now.
|
|
use sum(npages)/((nkeys == 1) ? 1 : nkeys + 1) as expected index page
estimation for multi-key quals - instead of sum(npages).
In old code npages for x > 10 and x < 20 is twice as for x > 10 - cool ?
|
|
|
|
|
|
regress.sh modified to get rid of queries.sql tests, as they are
performed vis sql/*.sql
|
|
Its starting to actually take shape and look as expected...
|
|
|
|
should be used :)
|
|
partially split
|
|
The whole file needs updating, but will work on that after finishing
with the splits
|
|
user-friendly (and more useful)
|
|
'master' file
Commit mods to regress.sh so that split out tests are run...look forward
to finding out how to do a proper redirect to continue visual cleanup :)
|