Thomas G. Lockhart
9fd28029eb
Add a few other parser-only nodes for debugging help.
...
Define the JoinExpr node.
1999-02-23 08:01:47 +00:00
Thomas G. Lockhart
70600bd6f1
Clean up error messages.
1999-02-23 07:54:03 +00:00
Thomas G. Lockhart
681c587d22
Do a better job of selecting candidates among functions
...
when no exact match.
Clean up elog error messages.
1999-02-23 07:51:53 +00:00
Thomas G. Lockhart
b4def32439
Include some new code for outer joins. Disabled by default, but enable by
...
including the following in your Makefile.custom:
CFLAGS+= -DENABLE_OUTER_JOINS -DEXEC_MERGEJOINDEBUG
1999-02-23 07:46:42 +00:00
Thomas G. Lockhart
449020f782
Put in explicit checks for implicit index name lengths.
...
Put in hooks for outer joins by passing a few parameters back and forth
in function calls. May not be close to working yet.
1999-02-23 07:44:44 +00:00
Thomas G. Lockhart
03d5c070f0
Modify the outer join placeholder code with something closer to working
...
code. Works here, but not completely implemented past this point.
1999-02-23 07:42:41 +00:00
Thomas G. Lockhart
25cccc05aa
Fix typos in comments.
1999-02-23 07:36:31 +00:00
Thomas G. Lockhart
6d73a8c0cb
Add first code to help with outer joins.
...
Enable by defining
CFLAGS+= -DENABLE_OUTER_JOINS -DEXEC_MERGEJOINDEBUG
in your Makefile.custom
1999-02-23 07:35:09 +00:00
Thomas G. Lockhart
97287e1d13
Fix typo in comment.
1999-02-23 07:33:09 +00:00
Thomas G. Lockhart
348ab94822
Rearrange order of subdirectory creation to help generate parse.h
...
file early enough to use in nodes/.
Try to be more complete for rules on generating parse.h,
but it still does not work any better than before. Should be able to
make correctly if parser/gram.y is updated even without a "make clean"
but so far not there yet.
1999-02-23 07:24:08 +00:00
Bruce Momjian
1e70c1fe5d
comments cleanup.
1999-02-22 19:55:44 +00:00
Bruce Momjian
7fe29ecefc
comment cleanup.
1999-02-22 19:40:10 +00:00
Bruce Momjian
01ec673cba
ifdef out append().
1999-02-22 17:29:57 +00:00
Bruce Momjian
9aa7e899dc
Ok. I found an align problem in lobj that might not appear other than
...
Solaris/sparc. Please apply included patches to
src/backend/storage/large_object/inv_api.c and try again. (These are
Tatsuo Ishii
1999-02-22 16:46:43 +00:00
Tom Lane
bcfdc9df04
Repair some pretty serious problems in dynahash.c and
...
shared memory space allocation. It's a wonder we have not seen bug
reports traceable to this area ... it's quite clear that the routine
dir_realloc() has never worked correctly, for example.
1999-02-22 06:16:57 +00:00
Bruce Momjian
ceb233ed11
more cleanup
1999-02-22 06:08:48 +00:00
Bruce Momjian
1ed5cbbfd8
Final optimizer cleanups.
1999-02-22 05:26:58 +00:00
Bruce Momjian
e73d417105
fix compile problem.
1999-02-22 01:57:50 +00:00
Marc G. Fournier
8c3e8a8a0e
From: Tatsuo Ishii <t-ishii@sra.co.jp>
...
Ok. I made patches replacing all of "#if FALSE" or "#if 0" to "#ifdef
NOT_USED" for current. I have tested these patches in that the
postgres binaries are identical.
1999-02-21 03:49:55 +00:00
Bruce Momjian
23c30246d7
pathkeys.c cleanup.
1999-02-21 01:55:03 +00:00
Tom Lane
9d197856dd
Rearrange handling of MAXBACKENDS a little bit. The default setting
...
of MAXBACKENDS is now 1024, since all it's costing is about 32 bytes of memory
per array slot. configure's --with-maxbackends switch now controls DEF_MAXBACKENDS
which is simply the default value of the postmaster's -N switch. Thus,
the out-of-the-box configuration will still limit you to 64 backends,
but you can go up to 1024 backends simply by restarting the postmaster with
a different -N switch --- no rebuild required.
1999-02-21 01:41:55 +00:00
Bruce Momjian
75cccd0ad3
pathkeys fixes
1999-02-20 19:02:43 +00:00
Bruce Momjian
0ff2733355
Update pathkeys comparison function.
1999-02-20 18:01:02 +00:00
Bruce Momjian
148ec3b1d8
update pathkey description.
1999-02-20 16:32:35 +00:00
Bruce Momjian
9188aab758
add pathkeys description.
1999-02-20 16:28:20 +00:00
Bruce Momjian
67fd67f53a
another rename of optimizer
1999-02-20 15:27:42 +00:00
Tom Lane
4c31393135
Reorder startup ops so that if preallocation of semas fails,
...
postmaster will release whatever it did get before dying.
1999-02-19 07:10:48 +00:00
Tom Lane
e77b630cf0
Allow maximum number of backends to be set at configure time
...
(--with-maxbackends). Add a postmaster switch (-N backends) that allows
the limit to be reduced at postmaster start time. (You can't increase it,
sorry to say, because there are still some fixed-size arrays.)
Grab the number of semaphores indicated by min(MAXBACKENDS, -N) at
postmaster startup, so that this particular form of bogus configuration
is exposed immediately rather than under heavy load.
1999-02-19 06:06:39 +00:00
Bruce Momjian
612b8434e4
optimizer cleanup
1999-02-19 05:18:06 +00:00
Bruce Momjian
8ab72a38df
optimizer cleanup
1999-02-19 02:05:20 +00:00
Bruce Momjian
cd38f08598
rename optimizer file name
1999-02-18 19:58:53 +00:00
Bruce Momjian
b4e7510e09
Enable bushy and right-hand queries by default.
1999-02-18 06:01:11 +00:00
Bruce Momjian
65ccd1039a
Enable bushy plans by default.
1999-02-18 05:26:34 +00:00
Bruce Momjian
e78662d879
optimizer cleanup
1999-02-18 04:55:54 +00:00
Bruce Momjian
d977ff7b52
more optimizer cleanups
1999-02-18 04:45:36 +00:00
Tom Lane
63393bdf90
Produce a more specific error message when backend sees EOF on
...
client connection.
1999-02-18 01:13:26 +00:00
Bruce Momjian
31cce21fb0
Fix bushy plans. Cleanup.
1999-02-18 00:49:48 +00:00
Bruce Momjian
c82ca4c158
Re-enable bushy plans. Vadim want them.
1999-02-16 00:41:03 +00:00
Bruce Momjian
cd550c7672
Update optimizer readme.
1999-02-15 22:19:01 +00:00
Tom Lane
390d5e9f14
regprocin should accept '-' signifying InvalidOid, for
...
symmetry with regprocout.
1999-02-15 16:29:32 +00:00
Bruce Momjian
e6bf7b4d93
rename
1999-02-15 05:56:07 +00:00
Bruce Momjian
56bb23a8fe
optimizer rename
1999-02-15 05:50:02 +00:00
Bruce Momjian
50034a852d
optimizer rename
1999-02-15 05:28:10 +00:00
Bruce Momjian
c5449d5354
otherrels is now unjoined_rels
1999-02-15 05:21:12 +00:00
Bruce Momjian
82682ff31f
optimizer rename
1999-02-15 03:59:28 +00:00
Bruce Momjian
ba2883b264
Remove duplicate geqo functions, and more optimizer cleanup
1999-02-15 03:22:37 +00:00
Tom Lane
944d3c395e
Replace non-idiomatic nconc(x, lcons(y, NIL)) with lappend(x, y).
1999-02-15 02:04:58 +00:00
Tom Lane
dec354ca97
Fix a number of places that made faulty assumptions about
...
what is_opclause will accept.
1999-02-15 01:06:59 +00:00
Tom Lane
5500039843
Fix optimizer coredump with unary-operator WHERE clauses.
...
A test case is:
create table linetab (x line);
select * from linetab where ?| x;
which coredumps in 6.4.2 and current sources.
1999-02-14 22:24:25 +00:00
Bruce Momjian
d8b482be7c
optimizer cleanup.
1999-02-14 05:27:12 +00:00