Bruce Momjian
6df955fd3b
Fix problem with selectivity error in added columns with ALTER TABLE.
...
Move files to deadcode.
1999-02-24 17:29:06 +00:00
Bruce Momjian
f3f7c2acde
update comments
1999-02-24 10:20:07 +00:00
Bruce Momjian
02fa3e4394
Thank you for the advice. I concluded that current inet code has a
...
portability problem. Included patches should be applied to both
current and 6.4 tree. I have tested on LinuxPPC, FreeBSD and Solaris
2.6. Now the inet regression tests on these platforms are all happy.
---
Tatsuo Ishii
1999-02-24 03:17:05 +00:00
Marc G. Fournier
fa9db42a6e
From: Michael Meskes <Michael_Meskes@topmail.de>
...
+
+ Son Feb 21 14:10:47 CET 1999
+
+ - Fixed variable detection in libecpg.
+
+ Mon Feb 22 19:47:45 CET 1999
+
+ - Added 'at <db_connection>' option to all commands it is apllicable
+ to. Due to changing the API of some libecpg functions this
+ requires me to increase the major version number.
+ - Synced pgc.l with scan.l.
+ - Added support for unions.
+ - Set library version to 3.0.0
+ - Set ecpg version to 3.0.0
1999-02-23 12:57:03 +00:00
Thomas G. Lockhart
e17d8448f2
Add parameters to function calls to pass back table qualifications.
1999-02-23 08:05:27 +00:00
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
0a8e9c4e7f
Define JoinExpr structure for outer join syntax.
...
Clean up comments in execnodes.h.
1999-02-23 07:55:24 +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
8f0a76f012
Bring debugging print statement declarations up to date.
...
Comment-out the #undef default declarations to allow the parameters to be
set on the compiler command line.
1999-02-23 07:39:40 +00:00
Thomas G. Lockhart
889c1530c9
Add constants for outer join states in executor.
1999-02-23 07:37:31 +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
e587f202e4
Update error messages with more consistant format.
1999-02-23 07:31:02 +00:00
Thomas G. Lockhart
4335a3779b
Add many new test cases.
1999-02-23 07:30:05 +00:00
Thomas G. Lockhart
dfdb2e5fb0
Remove non-portable queries by replacing getpgusername() with a constant
...
string.
1999-02-23 07:29:19 +00:00
Thomas G. Lockhart
4aa0e645e2
First tests using JOIN syntax.
1999-02-23 07:27:13 +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
47dd11bdd0
rename pgsql to postgres in regression.
1999-02-22 02:08:32 +00:00
Bruce Momjian
e23623584f
change pgsql to postgres
1999-02-22 02:06:38 +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
Tom Lane
1efa3f4228
Document postmaster's -N switch.
1999-02-21 03:17:31 +00:00
Marc G. Fournier
ae4a40dc26
From: Michael Meskes <Michael_Meskes@topmail.de>
...
+
+ Fri Feb 19 21:40:14 CET 1999
+
+ - Fixed bug in libecpg that caused it to start transactions only for
+ the first connection.
+ - Set library version to 2.7.1
1999-02-21 03:02:35 +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
Marc G. Fournier
bf6636baa6
From: Michael Meskes <Michael_Meskes@topmail.de>
...
See Changes file...
1999-02-20 07:01:08 +00:00
Tom Lane
3eb22085b5
OOPS ... Perl5 interface to PQsetdbLogin was actually
...
calling PQsetdb ...
1999-02-19 23:27:17 +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
Bruce Momjian
808a6df065
optimizer rename.
1999-02-14 05:14:15 +00:00
Bruce Momjian
61aa825876
Optimizer rename.
1999-02-14 04:57:02 +00:00
Bruce Momjian
6724a50787
Change my-function-name-- to my_function_name, and optimizer renames.
1999-02-13 23:22:53 +00:00
Thomas G. Lockhart
8c3fff7337
Fix offset of one for date_part(timespan) when given arguments of
...
decade, century, or millenium.
1999-02-13 05:34:24 +00:00
Thomas G. Lockhart
ba71b81966
Remove equivalence between datetime and float8. Led to nothin' but trouble.
1999-02-13 05:25:54 +00:00
Thomas G. Lockhart
a97683bc6c
Change #if FALSE to #if NOT_USED to avoid port problems.
...
Fix problem with date_part() for timespan (had an offset of one)
when given decade, century, and millenium as arguments.
Reported by Ricardo J.C.Coelho.
1999-02-13 04:25:01 +00:00
Thomas G. Lockhart
910fe5891e
Add routines to convert between int8 and text/varchar types.
...
Change #if FALSE to #if NOT_USED to avoid port problems.
Fix up pg_indent weirdness with function argument declarations.
1999-02-13 04:22:34 +00:00
Thomas G. Lockhart
02e85e7e5f
Add routines to convert between int8 and text/varchar types.
...
Fix output type for int8out, but I don't think it matters.
1999-02-13 04:19:54 +00:00
Thomas G. Lockhart
7a724a0231
Include some Julian date declarations to share between various date/time
...
modules. Used to be in dt.c I think.
1999-02-13 04:15:33 +00:00
Bruce Momjian
ad4b27ac3f
Optimizer cleanup.
1999-02-12 17:25:05 +00:00
Bruce Momjian
c0d17c7aee
JoinPath -> NestPath for nested loop.
1999-02-12 06:43:53 +00:00
Bruce Momjian
3fdb9bb9c7
Fix optimizer and make faster.
1999-02-12 05:57:08 +00:00
Bruce Momjian
55d0465009
optimizer update
1999-02-12 02:37:52 +00:00
Tom Lane
847da1a1ee
Remove Perl module's unnecessary dependence on libpq-int.h.
1999-02-11 23:25:16 +00:00
Bruce Momjian
34ecb9d850
Optimizer cleanups.
1999-02-11 21:05:28 +00:00
Bruce Momjian
c873fcdaf4
Optimizer cleanup.
1999-02-11 17:21:51 +00:00
Bruce Momjian
8dc2209f71
optimizer cleanup
1999-02-11 17:03:17 +00:00
Bruce Momjian
6de25f09b1
Optimizer cleanup.
1999-02-11 17:00:49 +00:00
Bruce Momjian
4ea3f728e9
More optimization.
1999-02-11 16:09:41 +00:00
Bruce Momjian
d244df95db
More optimizer speedups.
1999-02-11 14:59:09 +00:00
Bruce Momjian
129543e22d
optimizer cleanup
1999-02-11 05:29:08 +00:00
Bruce Momjian
dbd80c97f4
Optimizer fix for samekeys() and cost fixes for longer optimizer keys.
1999-02-11 04:08:44 +00:00
Tom Lane
403b3eff79
Include <varargs.h> on SunOS. (Does any other platform need it??)
1999-02-11 01:36:55 +00:00
Bruce Momjian
9dbb0efb0b
Optmizer cleanup
1999-02-10 21:02:50 +00:00
Bruce Momjian
d5a785cd5a
Update find_typedefs for bsdi 4.0.
1999-02-10 17:14:32 +00:00
Bruce Momjian
f859c81c18
Rename Path.keys to Path.pathkeys. Too many 'keys' used for other things.
1999-02-10 03:52:54 +00:00
Bruce Momjian
318e593f03
Rename Temp to Noname for noname tables.
1999-02-09 17:03:14 +00:00
Bruce Momjian
78511d8fe9
Optimizer fix for samekeys.
1999-02-09 06:30:45 +00:00
Bruce Momjian
fe35ffe7e0
Major optimizer improvement for joining a large number of tables.
1999-02-09 03:51:42 +00:00
Jan Wieck
be948af2e8
Added LIMIT/OFFSET functionality including new regression test for it.
...
Removed CURRENT keyword for rule queries and changed rules regression
accordingly. CURRENT has beed announced to disappear in v6.5.
Jan
1999-02-08 14:14:32 +00:00
Bruce Momjian
54e5d25666
Optimizer cleanup.
1999-02-08 04:29:25 +00:00
Tom Lane
07c33ba79e
pg_dump -d or -D didn't quote special characters in INSERT data
...
correctly. -D had problems with tables with inherited fields, also.
1999-02-08 01:46:28 +00:00