Bruce Momjian
d977ff7b52
more optimizer cleanups
1999-02-18 04:45:36 +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
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
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
ba71b81966
Remove equivalence between datetime and float8. Led to nothin' but trouble.
1999-02-13 05:25:54 +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
6de25f09b1
Optimizer cleanup.
1999-02-11 17:00:49 +00:00
Bruce Momjian
d244df95db
More optimizer speedups.
1999-02-11 14:59:09 +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
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
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
5212ef8e46
Correct definition of srandom() --- it takes unsigned int not int.
1999-02-07 22:04:57 +00:00
Jan Wieck
ef590e101e
Changed ExecConstraints() and ExecRelCheck() to cache the constraints
...
qualification expression trees in the execution state. Prevents from
memory exhaustion on INSERT, UPDATE or COPY to tables that have CHECK
constraints. Speedup against the variant using freeObject() is more than
factor 2.
Jan
1999-02-07 16:17:14 +00:00
Bruce Momjian
a553760845
Optimizer cleanup.
1999-02-06 17:29:30 +00:00
Jan Wieck
ead64f317b
New alloc set code using a memory block pool for small allocations.
...
Jan
1999-02-06 16:50:34 +00:00
Bruce Momjian
6e2edaf4b8
Optimizer cleanup.
1999-02-05 19:59:31 +00:00
Bruce Momjian
ce3afccf7f
More optimizer cleanups.
1999-02-04 03:19:11 +00:00
Bruce Momjian
18fbe4142f
More optimizer renaming HInfo -> HashInfo.
1999-02-04 01:47:02 +00:00
Bruce Momjian
8d9237d485
Optimizer rename ClauseInfo -> RestrictInfo. Update optimizer README.
1999-02-03 20:15:53 +00:00
Bruce Momjian
4090d17fee
SET_ARGS cleanup
1999-02-02 23:53:26 +00:00
Bruce Momjian
a7ad43cd18
Included patches make some enhancements to the multi-byte support.
...
o allow to use Big5 (a Chinese encoding used in Taiwan) as a client
encoding. In this case the server side encoding should be EUC_TW
o add EUC_TW and Big5 test cases to the regression and the mb test
(contributed by Jonah Kuo)
o fix mistake in include/mb/pg_wchar.h. An encoding id for EUC_TW was
not correct (was 3 and now is 4)
o update documents (doc/README.mb and README.mb.jp)
o update psql helpfile (bin/psql/psqlHelp.h)
--
Tatsuo Ishii
t-ishii@sra.co.jp
1999-02-02 18:51:40 +00:00
Bruce Momjian
8e958b8a38
Fix create_rule is->as.
1999-02-02 17:46:17 +00:00
Bruce Momjian
4390b0bfbe
Add TEMP tables/indexes. Add COPY pfree(). Other cleanups.
1999-02-02 03:45:56 +00:00
Vadim B. Mikheev
e3a1ab764e
READ COMMITTED isolevel is implemented and is default now.
1999-01-29 09:23:17 +00:00
Jan Wieck
28d8b42ca5
Speedup of PL/pgSQL by calling ExecEvalExpr() directly
...
instead of SPI_execp() for simple expressions.
Jan
1999-01-27 16:15:22 +00:00
Tom Lane
422221c90d
Another SELECT speedup: extract OIDs of column print functions
...
only once per SELECT, not once per tuple. 10% here, 10% there,
pretty soon you're talking about real speedups ...
1999-01-27 00:36:28 +00:00
Bruce Momjian
1401f63dd1
Agg/Aggreg cleanup and datetime.sql patch.
1999-01-25 18:02:28 +00:00
Vadim B. Mikheev
247b3f9054
SELECT FOR UPDATE is implemented...
1999-01-25 12:01:19 +00:00
Tom Lane
d03e98737c
Replace typtoout() and gettypelem() with a single routine,
...
so that fetching an attribute value needs only one SearchSysCacheTuple call
instead of two redundant searches. This speeds up a large SELECT by about
ten percent, and probably will help GROUP BY and SELECT DISTINCT too.
1999-01-24 05:40:49 +00:00
Tom Lane
77f5428244
Fix a couple little problems with signed vs. unsigned
...
characters ...
1999-01-24 02:47:15 +00:00
Bruce Momjian
17467bb7fb
Rename Aggreg to Aggref.
1999-01-24 00:28:37 +00:00
Bruce Momjian
598a4e15dd
Remove unused Choose node.
1999-01-23 23:28:09 +00:00
Tom Lane
e6725d1574
Add explicit buffering in backend libpq, to compensate for
...
buffering lost by not going through stdio anymore for client I/O.
1999-01-23 22:27:29 +00:00
Bruce Momjian
c91dbcc5c7
The following patch finishes primary key support. Previously, when
...
a field was labelled as a primary key, the system automatically
created a unique index on the field. This patch extends it so
that the index has the indisprimary field set. You can pull a list
of primary keys with the followiing select.
SELECT pg_class.relname, pg_attribute.attname
FROM pg_class, pg_attribute, pg_index
WHERE pg_class.oid = pg_attribute.attrelid AND
pg_class.oid = pg_index.indrelid AND
pg_index.indkey[0] = pg_attribute.attnum AND
pg_index.indisunique = 't';
There is nothing in this patch that modifies the template database to
set the indisprimary attribute for system tables. Should they be
changed or should we only be concerned with user tables?
D'Arcy
1999-01-21 22:48:20 +00:00