Marc G. Fournier
953ac7b55a
Fix up the -Wno-error problem for non-gcc compilers
...
Pointed out by many many ppl
1997-04-15 17:24:26 +00:00
Marc G. Fournier
a69c5fc81a
Add ccsym to tools to determine OS/compiler specific symbols
...
Change BSD44_derived to __FreeBSD__ in numutils.c (need to know what
NetBSD is referred to as...someone?)
1997-04-13 17:09:45 +00:00
Marc G. Fournier
f2b98c4624
Fixes for [] escaping pointed out by Adrian
1997-04-12 13:56:44 +00:00
Marc G. Fournier
32523e4cb8
scripts required by configure to bypass its inabilty to use []'s inside of
...
configure ([] have special means to m4 *sigh*)
1997-04-12 13:22:04 +00:00
Marc G. Fournier
cecfd642f5
Make sure that Makefile.${PORTNAME} is link'd and that teh port/*.h
...
file that has moved to include is also link'd properly
1997-04-12 10:35:49 +00:00
Marc G. Fournier
09a5dabc30
Remove port specific Makefile 'targets' (ie. shared libraries) from
...
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-12 10:33:10 +00:00
Marc G. Fournier
7113e880b8
More more of the include files under the include directory
1997-04-12 10:21:55 +00:00
Marc G. Fournier
9956fa056a
remove the port related .h files from the top level directory.
...
Moved to include/port
1997-04-12 10:20:20 +00:00
Marc G. Fournier
02fa41951b
Fix detection of install vs installbsd
...
Submitted by: adrian@waltham.harvard.net
1997-04-12 09:39:56 +00:00
Marc G. Fournier
df2374f024
Make sure postgres.h is included before we start checking #ifdef's for other
...
header files.
Pointed out by: Edmund Mergl <E.Mergl@bawue.de>
1997-04-12 09:37:31 +00:00
Marc G. Fournier
fcf7d45b36
Get rid of the .sql files out of the Makefile
...
Pointed out by: afc@teri.superlink.net
1997-04-12 09:34:31 +00:00
Marc G. Fournier
1e9b80a2fd
modifications to pg_dump towards supporting dumping of ACLs (doesn't work yet!)
...
modification to c.h so that bool isn't typedef'd under __cplusplus
1997-04-12 09:24:23 +00:00
Marc G. Fournier
bb0a17412d
Change BACKEND to CFLAGS
1997-04-11 18:55:10 +00:00
Marc G. Fournier
bc97905a15
Finish removing the TEST_MAIN stuff, which was mean for standalone
...
testing
1997-04-10 20:51:13 +00:00
Marc G. Fournier
fac81b448c
Fix #include "cash.h" to be #include <utils/cash.h>
...
Remove the TEST_MAIN stuff at the top...
1997-04-10 20:42:35 +00:00
Marc G. Fournier
02d55fc6ca
Update man page, listing new \z value
1997-04-10 11:58:59 +00:00
Marc G. Fournier
f986173e35
Add a \z command to psql that lists off grant/revoke permissions
...
- if someone can pick a better \? for this, plesae let me know...all
the good ones seem taken :(
1997-04-10 11:54:29 +00:00
Vadim B. Mikheev
81489528d0
Copy indexkeys in _copyIndexPath.
1997-04-10 07:59:09 +00:00
Marc G. Fournier
e6dfee305c
Much improved configure that integrates the build script right into it
...
Submitted by: adrian@waltham.harvard.net
1997-04-09 08:55:32 +00:00
Marc G. Fournier
b5183bf64b
remove the old regression test files. have copies saved in my directory here,
...
but it gets rid of the temptation to modify the old source files :)
1997-04-09 08:48:14 +00:00
Marc G. Fournier
4999f002e6
Add in D'Arcy's cash code
...
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-09 08:36:21 +00:00
Marc G. Fournier
1c688d1bbe
From: "Martin S. Utesch" <utesch@aut.tu-freiberg.de>
...
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-09 08:31:29 +00:00
Marc G. Fournier
aaeef4dae8
GNUmakefile.in - remove backend/utils/Gen_fmgrtab.sh on distclean
...
varlena.c - part of Thomas' most recent patch
1997-04-09 08:29:35 +00:00
Vadim B. Mikheev
75e2370cc8
Now we have #define _CPU_INDEX_PAGE_WEIGHT_ 0.033 (/* CPU-index-to-page cost
...
weighting factor */) in addition to
#define _CPU_PAGE_WEIGHT_ 0.065 (/* CPU-heap-to-page cost weighting factor
*/).
1997-04-09 02:24:19 +00:00
Vadim B. Mikheev
2fd9273d97
getattnvals(): if attnvals in pg_attribute is 0 then use
...
ATTNVALS_SCALE/reltuples (instead of reltuples).
1997-04-09 02:20:32 +00:00
Vadim B. Mikheev
610d0d00ed
1. Enable to have different _CPU_PAGE_WEIGHT_ for heap and index.
...
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-09 02:13:41 +00:00
Vadim B. Mikheev
fa2629b7ea
Fix (hack) IndexSelectivity():
...
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-09 01:52:04 +00:00
Marc G. Fournier
b30aa6ecb8
Slight mods to explain (or try to) the new regression tests
1997-04-08 19:34:58 +00:00
Vadim B. Mikheev
c56b20eee9
Fix btabstimecmp ().
1997-04-07 06:45:41 +00:00
Marc G. Fournier
ee0a61ab62
Get rid of queries.source...its all in the sql directory.
...
regress.sh modified to get rid of queries.sql tests, as they are
performed vis sql/*.sql
1997-04-06 08:53:34 +00:00
Marc G. Fournier
e31cb4be3a
More splits and cleanups...
...
Its starting to actually take shape and look as expected...
1997-04-06 08:29:57 +00:00
Marc G. Fournier
588ae64c44
More splits and cleanups...
1997-04-06 06:07:13 +00:00
Marc G. Fournier
063190a5fa
Add in support so that build will at least guess which template file
...
should be used :)
1997-04-06 04:43:28 +00:00
Marc G. Fournier
23733026ee
remove create.{source,sql} as they are now down in the 'sql' directory
...
partially split
1997-04-05 21:33:26 +00:00
Marc G. Fournier
1452327c66
Change Postgres95 to PostgreSQL
...
The whole file needs updating, but will work on that after finishing
with the splits
1997-04-05 21:28:46 +00:00
Marc G. Fournier
9c9e2dd4b5
More splits of the regression tests in order to make them more
...
user-friendly (and more useful)
1997-04-05 21:26:00 +00:00
Marc G. Fournier
aa51d0d185
Purge out tests/expected that are now in sql/expected subdirectories from
...
'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-05 11:58:40 +00:00
Marc G. Fournier
04688df668
Again, add more tests
1997-04-05 11:26:55 +00:00
Marc G. Fournier
7956e606d6
Add more expected.out results
1997-04-05 11:24:54 +00:00
Marc G. Fournier
d108a31082
There are the broken out 'sql' queries from queries.source
...
tests allows us to have a 'for...done' loop inside of regress.sh for
both doing the tests, and determining fail/ok results
1997-04-05 11:08:30 +00:00
Marc G. Fournier
9607e69c24
These are the broken down 'expected.output' files created so far
1997-04-05 11:06:04 +00:00
Vadim B. Mikheev
0762deacec
Print 'Group' as name of Group plan.
1997-04-05 06:42:32 +00:00
Vadim B. Mikheev
d12e27a5f3
Changes for GROUP BY func_results:
...
AddGroupAttrToTlist() is not called from anywhere now.
1997-04-05 06:39:58 +00:00
Vadim B. Mikheev
c50d8474d3
Changes for GROUP BY func_results.
1997-04-05 06:37:37 +00:00
Vadim B. Mikheev
cc11cfdd46
Now we can GROUP BY func_results.
1997-04-05 06:29:03 +00:00
Vadim B. Mikheev
803a2b13f2
Fix for 'SET var_name TO var_value': var_name already defined.
1997-04-05 06:25:59 +00:00
Vadim B. Mikheev
bd511f268a
Put resdom into GroupClause (GROUP BY func_results)
1997-04-05 06:19:22 +00:00
Vadim B. Mikheev
50faf40903
Check for attributeList is NULL in ConstructTupleDescriptor ().
...
Submitted by Raymond Toy.
1997-04-05 03:36:21 +00:00
Marc G. Fournier
3ded1cc530
From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
...
Subject: [HACKERS] Fix for European dates
This apparently fixes the European date reading problem reported
by several (European) bleeding edge adopters. I tried a few test
cases and it doesn't break the non-EuroDate cases in my test suite.
1997-04-05 02:51:41 +00:00
Marc G. Fournier
eda9d69d6c
Move YACC and YFLAGS into the template files
...
Clean up the .sample files...comment out all sample entries except for
the localhost one
1997-04-04 11:23:15 +00:00