Bruce Momjian
9c56b408c4
Add fix for 0x7fU constants to pgindent
1999-05-26 15:20:04 +00:00
Bruce Momjian
278bbf4572
Make functions static or NOT_USED as appropriate.
1999-05-26 12:57:23 +00:00
Bruce Momjian
fcff1cdf4e
Another pgindent run. Sorry folks.
1999-05-25 22:43:53 +00:00
Bruce Momjian
4eadfe8754
Make 0x007f -> (unsigned)0x7f to make pgindent happy.
1999-05-25 22:04:56 +00:00
Vadim B. Mikheev
7d443a85af
Get rid of page-level locking in btree-s.
...
LockBuffer is used to acquire read/write access
to index pages. Pages are released before leaving
index internals.
1999-05-25 18:20:31 +00:00
Bruce Momjian
07842084fe
pgindent run over code.
1999-05-25 16:15:34 +00:00
Jan Wieck
b122e16a1c
Bugfix - Range table entries that are unused after rewriting should
...
not be marked inFromCl any longer. Otherwise the planner gets confused
and joins over them where in fact it does not have to.
Adjust hasSubLinks now with a recursive lookup - could be wrong in
multi action rules because parse state isn't reset correctly and all
actions in the rule are marked hasSubLinks if one of them has.
Jan
1999-05-25 13:16:10 +00:00
Jan Wieck
f4fadbe4db
Fixed bug in rules event qualification output.
...
Jan
1999-05-25 08:49:33 +00:00
Bruce Momjian
6bf0db7e07
FIx for 0.0.0.0/0 output as 00/0.
1999-05-25 05:29:38 +00:00
Tom Lane
9432b6dd64
Do not assign output columns to junk attributes created from
...
GROUP BY or ORDER BY expressions in INSERT ... SELECT.
1999-05-23 21:42:09 +00:00
Tom Lane
505b5185fc
Detect case of invalid use of GROUP BY when there are no
...
aggregate functions, as in
select a, b from foo group by a;
The ungrouped reference to b is not kosher, but formerly we neglected to
check this unless there was an aggregate function somewhere in the query.
1999-05-23 21:41:14 +00:00
Vadim B. Mikheev
7e14593d2e
Fix tuple chain moving bug found by "Hiroshi Inoue" <Inoue@tpf.co.jp>.
1999-05-23 09:10:24 +00:00
Tom Lane
795f6ca66a
Update commentary in sample GEQO config file.
1999-05-22 23:59:59 +00:00
Tom Lane
b2f14e11ec
Reduce default GEQO 'effort' setting to MEDIUM always.
...
This agrees with the documentation and seems like a more useful default
anyhow ...
1999-05-22 23:27:19 +00:00
Tom Lane
d52a91a5d8
Modify aset.c logic so that blocks requested from malloc get
...
bigger the more space is used in an allocset. This reduces the malloc
overhead very substantially on queries that need lots of memory.
1999-05-22 23:19:37 +00:00
Tom Lane
f9f90b21b2
Improve error message from failed LOAD command (include
...
kernel's error description when file is not accessible).
1999-05-22 19:49:42 +00:00
Tom Lane
b21005fa7c
Allow GEQO effort to be specified numerically, as well as
...
symbolic LOW/MEDIUM/HIGH values --- needed for experiments with other
effort levels ...
1999-05-22 19:29:01 +00:00
Tom Lane
cf1478982c
Modify backend switch parsing to prevent 'insecure' switches
...
from being accepted when they are passed from client connection request.
Get rid of a couple that no longer do anything (like -P).
1999-05-22 17:47:54 +00:00
Bruce Momjian
e9edb3ef92
Fix for select 1;select 2 without trailing semi.
1999-05-22 05:06:43 +00:00
Bruce Momjian
a8d2820e6d
Fix for DEFAULT ''.
1999-05-22 04:12:29 +00:00
Bruce Momjian
9710995fc9
Make postgres prompt backend>, and remove PARSEDEBUG.
1999-05-22 02:55:58 +00:00
Bruce Momjian
167529f221
Disable fix. Didn't work.
1999-05-21 18:33:12 +00:00
Bruce Momjian
c0d979614e
Fix typo and attempt default fix.
1999-05-21 18:31:06 +00:00
Bruce Momjian
96492290b5
Treat {} as special regex too.
1999-05-21 15:47:13 +00:00
Tatsuo Ishii
08bcc77a5c
add retest, a regex testing program
1999-05-21 06:27:54 +00:00
Bruce Momjian
56b9a549c7
Fix problem with | in ~ comparison using index.
1999-05-21 04:40:04 +00:00
Tom Lane
b3ad49850e
Report strerror() rather than errno in low-level backend libpq
...
failure messages.
1999-05-21 01:25:06 +00:00
Tom Lane
33773af95b
Generate distinct error messages for trigger function not found
...
and trigger function found but returns wrong type.
1999-05-20 14:39:49 +00:00
Jan Wieck
443c08a110
Fixed shift/reduce conflict
...
SelectStmt and CursorStmt tried to parse FOR UPDATE ... / FOR READ ONLY.
Cursor now checks that it is read only by looking at forUpdate of Query.
SelectStmt handles FOR READ ONLY too.
Jan
1999-05-20 12:12:55 +00:00
Bruce Momjian
6d08b6a7b8
Remove 4096 string limited key on block size
1999-05-19 17:53:12 +00:00
Bruce Momjian
0a8fb5a8f9
Upgrade to PyGreSQL (2.4)
1999-05-19 16:46:12 +00:00
Tom Lane
77ebed09f5
Add Aggref and ArrayRef to the set of node types that transformExpr
...
will pass through rather than spitting up. This is necessary to handle
cases where coerce_type causes a subexpression to be retransformed, as in
SELECT count(*) + 1.0 FROM table
1999-05-18 23:40:05 +00:00
Tom Lane
c2f0d565f3
Now that hashjoin is reliable for large joins (knock on wood),
...
remove optimizer's arbitrary limit on how large a join it will use hashing
for. (The limit was too large to prevent the problems we'd been seeing,
anyway...)
1999-05-18 21:36:10 +00:00
Tom Lane
353d36f979
Remove no-longer-used fields in Hash and HashJoin nodes.
1999-05-18 21:34:29 +00:00
Tom Lane
26069a58e8
Rewrite hash join to use simple linked lists instead of a
...
fixed-size hashtable. This should prevent 'hashtable out of memory' errors,
unless you really do run out of memory. Note: target size for hashtable
is now taken from -S postmaster switch, not -B, since it is local memory
in the backend rather than shared memory.
1999-05-18 21:33:06 +00:00
Bruce Momjian
c2b75c83f3
All works on linux now by my tests and regression(with patch below).
...
ALTER TABLE RENAME with extents.
Ole Gjerde
1999-05-17 18:24:48 +00:00
Bruce Momjian
19c4e862d4
Skip junk nodes when comparing UNION target list lengths.
1999-05-17 18:22:19 +00:00
Bruce Momjian
585c967720
Change resjunk to a boolean.
1999-05-17 17:03:51 +00:00
Bruce Momjian
184dd28d5c
This is actually more of a fundamental problem with mdtruncate. It
...
looks
like someone just didn't add support for multiple segments for
truncation.
The following patch seems to do the right thing, for me at least.
It passed my tests, my data looks right(no data that shouldn't be in
there) and regression is ok.
Ole Gjerde
1999-05-17 06:38:41 +00:00
Tom Lane
fe0b8612d9
Prior patch added 2 more characters to string allocated
...
for SERIAL column's constraint, but forgot to increase space palloc'd...
1999-05-17 04:50:07 +00:00
Bruce Momjian
b8b1ba53ea
SELECT * error message fix.
1999-05-17 04:19:33 +00:00
Marc G. Fournier
a0b7daa129
Apply freebsd specific patches dealign with ELF system from FreeBSD's
...
ports collection ...
1999-05-17 04:13:29 +00:00
Bruce Momjian
61f618e73e
Move IN to proper place.
1999-05-17 01:01:06 +00:00
Bruce Momjian
a341db91c5
Cleanup
1999-05-17 00:31:49 +00:00
Bruce Momjian
e83265b32a
Fix typo in change.
1999-05-17 00:27:45 +00:00
Tom Lane
0b8b1fe3aa
Tighten coding in new_join_pathkey, which seems to be a hotspot
...
for GEQO ...
1999-05-17 00:26:33 +00:00
Tom Lane
1332c1e144
Change GEQO optimizer to release memory after each gene
...
is evaluated. This bounds memory usage to something reasonable even
when many tables are being joined.
1999-05-17 00:25:34 +00:00
Bruce Momjian
c686be8d56
Require IN in LOCK syntax.
1999-05-17 00:22:07 +00:00
Bruce Momjian
054cae8173
Change md* call to smgr*.
1999-05-17 00:19:12 +00:00
Tom Lane
fecb2b0024
Minor code cleanup in optimizer.
1999-05-16 19:45:37 +00:00