summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1997-04-16connectDB(): setsockopt (..., TCP_NODELAY, ...) added.Vadim B. Mikheev
1997-04-16StreamConnection(): setsockopt (..., TCP_NODELAY, ...) added.Vadim B. Mikheev
1997-04-161. BTREE_VERSION_1: using bti_itup->t_tid as unique identifier for a givenVadim B. Mikheev
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.
1997-04-16BTREE_VERSION_1: using bti_itup->t_tid as unique identifier for a givenVadim B. Mikheev
index tuple (logical position within A LEVEL). bti_oid & bti_dummy taken off from BTItemData.
1997-04-15A couple of cleanups from Scott Harrison <Scott_Harrison@next.com>Marc G. Fournier
1997-04-15Oops, don't forget to remove the CASSERT=true lineMarc G. Fournier
1997-04-15Have CASSERT enabled/disabled via configure, and passed through config.hMarc G. Fournier
instead of as a -D
1997-04-15Patch for Solaris 2.5 from: adrian@waltham.harvard.netMarc G. Fournier
1997-04-15Various minor HP related patches from:Marc G. Fournier
Morten Kjeldgaard <mok@monster.kemi.aau.dk>
1997-04-15A small fix, where default: condition in case had not 'break;'...not required,Marc G. Fournier
but, IMHO, cleaner
1997-04-15From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>Marc G. Fournier
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.
1997-04-152. The file /usr/local/pgsql/src/backend/lipq/pgcomprim.c has twoMarc G. Fournier
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>
1997-04-15Fix up the -Wno-error problem for non-gcc compilersMarc G. Fournier
Pointed out by many many ppl
1997-04-13Add ccsym to tools to determine OS/compiler specific symbolsMarc G. Fournier
Change BSD44_derived to __FreeBSD__ in numutils.c (need to know what NetBSD is referred to as...someone?)
1997-04-12Fixes for [] escaping pointed out by AdrianMarc G. Fournier
1997-04-12scripts required by configure to bypass its inabilty to use []'s inside ofMarc G. Fournier
configure ([] have special means to m4 *sigh*)
1997-04-12Make sure that Makefile.${PORTNAME} is link'd and that teh port/*.hMarc G. Fournier
file that has moved to include is also link'd properly
1997-04-12Remove port specific Makefile 'targets' (ie. shared libraries) fromMarc G. Fournier
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
1997-04-12More more of the include files under the include directoryMarc G. Fournier
1997-04-12remove the port related .h files from the top level directory.Marc G. Fournier
Moved to include/port
1997-04-12Fix detection of install vs installbsdMarc G. Fournier
Submitted by: adrian@waltham.harvard.net
1997-04-12Make sure postgres.h is included before we start checking #ifdef's for otherMarc G. Fournier
header files. Pointed out by: Edmund Mergl <E.Mergl@bawue.de>
1997-04-12Get rid of the .sql files out of the MakefileMarc G. Fournier
Pointed out by: afc@teri.superlink.net
1997-04-12modifications to pg_dump towards supporting dumping of ACLs (doesn't work yet!)Marc G. Fournier
modification to c.h so that bool isn't typedef'd under __cplusplus
1997-04-11Change BACKEND to CFLAGSMarc G. Fournier
1997-04-10Finish removing the TEST_MAIN stuff, which was mean for standaloneMarc G. Fournier
testing
1997-04-10Fix #include "cash.h" to be #include <utils/cash.h>Marc G. Fournier
Remove the TEST_MAIN stuff at the top...
1997-04-10Update man page, listing new \z valueMarc G. Fournier
1997-04-10Add a \z command to psql that lists off grant/revoke permissionsMarc G. Fournier
- if someone can pick a better \? for this, plesae let me know...all the good ones seem taken :(
1997-04-10Copy indexkeys in _copyIndexPath.Vadim B. Mikheev
1997-04-09Much improved configure that integrates the build script right into itMarc G. Fournier
Submitted by: adrian@waltham.harvard.net
1997-04-09remove the old regression test files. have copies saved in my directory here,Marc G. Fournier
but it gets rid of the temptation to modify the old source files :)
1997-04-09Add in D'Arcy's cash codeMarc G. Fournier
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...
1997-04-09From: "Martin S. Utesch" <utesch@aut.tu-freiberg.de>Marc G. Fournier
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.
1997-04-09GNUmakefile.in - remove backend/utils/Gen_fmgrtab.sh on distcleanMarc G. Fournier
varlena.c - part of Thomas' most recent patch
1997-04-09Now we have #define _CPU_INDEX_PAGE_WEIGHT_ 0.033 (/* CPU-index-to-page costVadim B. Mikheev
weighting factor */) in addition to #define _CPU_PAGE_WEIGHT_ 0.065 (/* CPU-heap-to-page cost weighting factor */).
1997-04-09getattnvals(): if attnvals in pg_attribute is 0 then useVadim B. Mikheev
ATTNVALS_SCALE/reltuples (instead of reltuples).
1997-04-091. Enable to have different _CPU_PAGE_WEIGHT_ for heap and index.Vadim B. Mikheev
2. PageWeights are variables now. 3. Fixed using ceil((double)selec*indextuples) as estimation for expected heap pages: ceil((double)selec*relpages) now.
1997-04-09Fix (hack) IndexSelectivity():Vadim B. Mikheev
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 ?
1997-04-08Slight mods to explain (or try to) the new regression testsMarc G. Fournier
1997-04-07Fix btabstimecmp ().Vadim B. Mikheev
1997-04-06Get rid of queries.source...its all in the sql directory.Marc G. Fournier
regress.sh modified to get rid of queries.sql tests, as they are performed vis sql/*.sql
1997-04-06More splits and cleanups...Marc G. Fournier
Its starting to actually take shape and look as expected...
1997-04-06More splits and cleanups...Marc G. Fournier
1997-04-06Add in support so that build will at least guess which template fileMarc G. Fournier
should be used :)
1997-04-05remove create.{source,sql} as they are now down in the 'sql' directoryMarc G. Fournier
partially split
1997-04-05Change Postgres95 to PostgreSQLMarc G. Fournier
The whole file needs updating, but will work on that after finishing with the splits
1997-04-05More splits of the regression tests in order to make them moreMarc G. Fournier
user-friendly (and more useful)
1997-04-05Purge out tests/expected that are now in sql/expected subdirectories fromMarc G. Fournier
'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 :)
1997-04-05Again, add more testsMarc G. Fournier