Commit Graph

4690 Commits

Author SHA1 Message Date
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
Thomas G. Lockhart
61f40ac3f2 Fix parens typo reported by wmt@thi.com (Bill Tonkin). 1999-02-19 01:58:52 +00:00
Thomas G. Lockhart
1902e8d098 Fix SGML markup from last content changes. 1999-02-19 01:57:08 +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
Thomas G. Lockhart
0925e5f5f9 Re-enable arch-dev.sgml now that it has new information from Stefan's
Master's Thesis.
1999-02-13 03:54:51 +00:00
Thomas G. Lockhart
e4000add1b Require complete tagging in emacs hints at bottom of file. 1999-02-13 03:54:00 +00:00
Thomas G. Lockhart
478e5beef1 Include chapter on SQL language elements (keywords, etc).
Should merge with or complement Stefan's Master's Thesis intro to SQL.
1999-02-13 03:52:46 +00:00
Thomas G. Lockhart
af2a0dfd65 Describe the date/time parsing rules.
Include specific information on the supported time zones.
 It's a really big table, so maybe it should go into an appendix instead.
1999-02-13 03:42:10 +00:00
Thomas G. Lockhart
0c30f18fbe Add Stefan Simkovics' Master's Thesis. 1999-02-13 03:38:46 +00:00
Thomas G. Lockhart
ba8808b2a6 Substitute great info from Stefan Simkovics' Master's Thesis.
Still need to add some acknowledgements at the top of the doc;
 already have full info in the bibliography but since the original is
 being spread across the existing docs we should also mention things
 locally.
1999-02-13 03:37:54 +00:00
Thomas G. Lockhart
dcded41895 Minor markup changes for the recent TEMP TABLE info.
Docs should build now...
1999-02-13 03:33:50 +00:00
Thomas G. Lockhart
b106421473 More complete info from Oliver Elphick. 1999-02-13 03:32:43 +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