1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00
Commit Graph

4645 Commits

Author SHA1 Message Date
3fdb9bb9c7 Fix optimizer and make faster. 1999-02-12 05:57:08 +00:00
55d0465009 optimizer update 1999-02-12 02:37:52 +00:00
847da1a1ee Remove Perl module's unnecessary dependence on libpq-int.h. 1999-02-11 23:25:16 +00:00
34ecb9d850 Optimizer cleanups. 1999-02-11 21:05:28 +00:00
c873fcdaf4 Optimizer cleanup. 1999-02-11 17:21:51 +00:00
8dc2209f71 optimizer cleanup 1999-02-11 17:03:17 +00:00
6de25f09b1 Optimizer cleanup. 1999-02-11 17:00:49 +00:00
4ea3f728e9 More optimization. 1999-02-11 16:09:41 +00:00
d244df95db More optimizer speedups. 1999-02-11 14:59:09 +00:00
129543e22d optimizer cleanup 1999-02-11 05:29:08 +00:00
dbd80c97f4 Optimizer fix for samekeys() and cost fixes for longer optimizer keys. 1999-02-11 04:08:44 +00:00
403b3eff79 Include <varargs.h> on SunOS. (Does any other platform need it??) 1999-02-11 01:36:55 +00:00
9dbb0efb0b Optmizer cleanup 1999-02-10 21:02:50 +00:00
d5a785cd5a Update find_typedefs for bsdi 4.0. 1999-02-10 17:14:32 +00:00
f859c81c18 Rename Path.keys to Path.pathkeys. Too many 'keys' used for other things. 1999-02-10 03:52:54 +00:00
318e593f03 Rename Temp to Noname for noname tables. 1999-02-09 17:03:14 +00:00
78511d8fe9 Optimizer fix for samekeys. 1999-02-09 06:30:45 +00:00
fe35ffe7e0 Major optimizer improvement for joining a large number of tables. 1999-02-09 03:51:42 +00:00
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
54e5d25666 Optimizer cleanup. 1999-02-08 04:29:25 +00:00
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
566c712c58 Revert some changes from the INTERSECT/EXPECT patch that broke
rule system semantics by having Var nodes referenced across multiple
parsetrees when rules split them.

Added more tests to the rules regression test.

The code in question resulted from v6.3 based development and was
a little careless applied to the v6.5 source tree.

Jan
1999-02-08 01:39:46 +00:00
bd422fbce2 Simplify scanstr(), fix broken octal-escape code. 1999-02-07 23:59:59 +00:00
f7c6a88c33 Simplify lexer's rules for string constants, eliminate potential buffer overrun. 1999-02-07 23:58:52 +00:00
45ff93c460 Include -lcrypt when needed to link libpgtcl.so and plpgsql.so 1999-02-07 22:10:47 +00:00
afd57dbb3a Changed manpages for create_rule/drop_rule to the semantics
of the rule system of v6.4 and descendants.

Jan
1999-02-07 22:10:10 +00:00
fa0f24165c Add PQresStatus() function to avoid direct access to pgresStatus[] array,
making life easier for Windoids...
1999-02-07 22:08:54 +00:00
f280266985 Clean up some minor compile warnings. 1999-02-07 22:07:02 +00:00
5212ef8e46 Correct definition of srandom() --- it takes unsigned int not int. 1999-02-07 22:04:57 +00:00
04075a0c60 New gram.c after modification of gram.y
Jan
1999-02-07 19:04:59 +00:00
28fc5d7b83 Reenabled parentheses for grouping multiple rule actions and
added this syntax to rules regression test so it will show up
if someone breaks it again.

Jan
1999-02-07 19:02:20 +00:00
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
dd4a357dc9 Missing semicolon in last fix :-}
Jan
1999-02-07 14:20:11 +00:00
6fa3d0a7ab One more fix to QuerySnapshot usage in ExecutorStart(). Maybe
current QuerySnapshot could be NULL.

Jan
1999-02-07 13:54:58 +00:00
a5f3abacb5 Fixed problem with multiple portals shown up in portals_p2 regression
test after new AllocSet code.

Activated optimal AllocSet blocksize and chunk limit.

Jan
1999-02-07 13:37:56 +00:00
65d320e7e4 Fix bracketing error in CaseExpr code 1999-02-07 03:02:21 +00:00
65decc3402 Allow psql to do \p\g. Ingres does it, why not us? 1999-02-07 02:56:53 +00:00
48fd9a2cc2 Add equality checking for T_Query so that we don't get
complaints in UNION regress test.  Probably still need some more node
types to be handled here, but I'm done for the day...
1999-02-07 00:52:12 +00:00
3fd3d028fb Add floating-point support to our emulation of snprintf
so that EXPLAIN works again.
1999-02-06 21:51:03 +00:00
fd1afb7453 Fix silly typo causing SELECT INTO TABLE to sometimes be
treated as SELECT INTO TEMP TABLE.
1999-02-06 20:28:11 +00:00
a553760845 Optimizer cleanup. 1999-02-06 17:29:30 +00:00
ead64f317b New alloc set code using a memory block pool for small allocations.
Jan
1999-02-06 16:50:34 +00:00
7d2b3874aa optimizer cleanup 1999-02-05 20:34:11 +00:00
6e2edaf4b8 Optimizer cleanup. 1999-02-05 19:59:31 +00:00
d5db88142c Fix for returning stack pointer from selectivity, from Bernard Frankpitt. 1999-02-05 17:47:29 +00:00
f962514403 Reverse out const to libpq interface from D'Arcy. 1999-02-05 04:25:55 +00:00
d3a85108c2 Fix silly typo in prune_joinrel 1999-02-05 03:43:05 +00:00
c45e4925ab Optimizer cleanups. 1999-02-04 23:19:53 +00:00
ae12e25263 Update optimizer comments. 1999-02-04 19:20:12 +00:00
19cc38b28d Large object write-into-middle fix from Tatsuo Ishii. 1999-02-04 14:52:00 +00:00