- 16 Apr, 1997 3 commits
-
-
Vadim B. Mikheev authored
-
Vadim B. Mikheev authored
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.
-
Vadim B. Mikheev authored
index tuple (logical position within A LEVEL). bti_oid & bti_dummy taken off from BTItemData.
-
- 15 Apr, 1997 9 commits
-
-
Marc G. Fournier authored
-
Marc G. Fournier authored
-
Marc G. Fournier authored
instead of as a -D
-
Marc G. Fournier authored
-
Marc G. Fournier authored
Morten Kjeldgaard <mok@monster.kemi.aau.dk>
-
Marc G. Fournier authored
but, IMHO, cleaner
-
Marc G. Fournier authored
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.
-
Marc G. Fournier authored
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>
-
Marc G. Fournier authored
Pointed out by many many ppl
-
- 13 Apr, 1997 1 commit
-
-
Marc G. Fournier authored
Change BSD44_derived to __FreeBSD__ in numutils.c (need to know what NetBSD is referred to as...someone?)
-
- 12 Apr, 1997 11 commits
-
-
Marc G. Fournier authored
-
Marc G. Fournier authored
configure ([] have special means to m4 *sigh*)
-
Marc G. Fournier authored
file that has moved to include is also link'd properly
-
Marc G. Fournier authored
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
-
Marc G. Fournier authored
-
Marc G. Fournier authored
Moved to include/port
-
Marc G. Fournier authored
Submitted by: adrian@waltham.harvard.net
-
Marc G. Fournier authored
header files. Pointed out by: Edmund Mergl <E.Mergl@bawue.de>
-
Marc G. Fournier authored
Pointed out by: afc@teri.superlink.net
-
Marc G. Fournier authored
Provided by: adrian@waltham.harvard.net
-
Marc G. Fournier authored
modification to c.h so that bool isn't typedef'd under __cplusplus
-
- 11 Apr, 1997 1 commit
-
-
Marc G. Fournier authored
-
- 10 Apr, 1997 5 commits
-
-
Marc G. Fournier authored
testing
-
Marc G. Fournier authored
Remove the TEST_MAIN stuff at the top...
-
Marc G. Fournier authored
-
Marc G. Fournier authored
- if someone can pick a better \? for this, plesae let me know...all the good ones seem taken :(
-
Vadim B. Mikheev authored
-
- 09 Apr, 1997 9 commits
-
-
Marc G. Fournier authored
Submitted by: adrian@waltham.harvard.net
-
Marc G. Fournier authored
but it gets rid of the temptation to modify the old source files :)
-
Marc G. Fournier authored
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...
-
Marc G. Fournier authored
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.
-
Marc G. Fournier authored
varlena.c - part of Thomas' most recent patch
-
Vadim B. Mikheev authored
weighting factor */) in addition to #define _CPU_PAGE_WEIGHT_ 0.065 (/* CPU-heap-to-page cost weighting factor */).
-
Vadim B. Mikheev authored
ATTNVALS_SCALE/reltuples (instead of reltuples).
-
Vadim B. Mikheev authored
2. PageWeights are variables now. 3. Fixed using ceil((double)selec*indextuples) as estimation for expected heap pages: ceil((double)selec*relpages) now.
-
Vadim B. Mikheev authored
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 ?
-
- 08 Apr, 1997 1 commit
-
-
Marc G. Fournier authored
-