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
Jan Wieck
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
Tom Lane
bd422fbce2
Simplify scanstr(), fix broken octal-escape code.
1999-02-07 23:59:59 +00:00
Tom Lane
f7c6a88c33
Simplify lexer's rules for string constants, eliminate potential buffer overrun.
1999-02-07 23:58:52 +00:00
Tom Lane
45ff93c460
Include -lcrypt when needed to link libpgtcl.so and plpgsql.so
1999-02-07 22:10:47 +00:00
Jan Wieck
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
Tom Lane
fa0f24165c
Add PQresStatus() function to avoid direct access to pgresStatus[] array,
...
making life easier for Windoids...
1999-02-07 22:08:54 +00:00
Tom Lane
f280266985
Clean up some minor compile warnings.
1999-02-07 22:07:02 +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
04075a0c60
New gram.c after modification of gram.y
...
Jan
1999-02-07 19:04:59 +00:00
Jan Wieck
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
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
Jan Wieck
dd4a357dc9
Missing semicolon in last fix :-}
...
Jan
1999-02-07 14:20:11 +00:00
Jan Wieck
6fa3d0a7ab
One more fix to QuerySnapshot usage in ExecutorStart(). Maybe
...
current QuerySnapshot could be NULL.
Jan
1999-02-07 13:54:58 +00:00
Jan Wieck
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
Tom Lane
65d320e7e4
Fix bracketing error in CaseExpr code
1999-02-07 03:02:21 +00:00
Bruce Momjian
65decc3402
Allow psql to do \p\g. Ingres does it, why not us?
1999-02-07 02:56:53 +00:00
Tom Lane
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
Tom Lane
3fd3d028fb
Add floating-point support to our emulation of snprintf
...
so that EXPLAIN works again.
1999-02-06 21:51:03 +00:00
Tom Lane
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
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
7d2b3874aa
optimizer cleanup
1999-02-05 20:34:11 +00:00
Bruce Momjian
6e2edaf4b8
Optimizer cleanup.
1999-02-05 19:59:31 +00:00
Bruce Momjian
d5db88142c
Fix for returning stack pointer from selectivity, from Bernard Frankpitt.
1999-02-05 17:47:29 +00:00
Bruce Momjian
f962514403
Reverse out const to libpq interface from D'Arcy.
1999-02-05 04:25:55 +00:00
Tom Lane
d3a85108c2
Fix silly typo in prune_joinrel
1999-02-05 03:43:05 +00:00
Bruce Momjian
c45e4925ab
Optimizer cleanups.
1999-02-04 23:19:53 +00:00
Bruce Momjian
ae12e25263
Update optimizer comments.
1999-02-04 19:20:12 +00:00
Bruce Momjian
19cc38b28d
Large object write-into-middle fix from Tatsuo Ishii.
1999-02-04 14:52:00 +00:00
Marc G. Fournier
fc590b6f1a
From: Michael Meskes <Michael.Meskes@usa.net>
...
+ Tue Feb 2 07:40:52 CET 1999
+
+ - Brought preproc.y in sync again with gram.y.
+ - Set ecpg version to 2.4.9
+
1999-02-04 04:58:05 +00:00