| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
delete the default argument from the node. This prevents the executor
from spitting up on the untransformed argument expression. Typical
failure was:
select (case f1 when 'val' then 'subst' else f1 end) from t1;
ERROR: copyObject: don't know how to copy 704
|
| |
|
|
|
|
|
|
| |
work the way it used to (ie, assume xyz is the name of the builtin
function to call). Complain if an unknown builtin function name is
referenced.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
MyProcPid global variable is set to 0 when postgres starts as a command
(not as a backend daemon). This leads issuing SIGQUIT to the process group,
not the process itself. As a result, parent sh gets core dumped in the
Wisconsin benchmark test.
|
|
|
|
|
|
|
| |
- change temp -> temp_bench ("temp" is now a reserved word)
- fix bugs in queries
- add -B 256 option to run the postgres command
(without this, postgres seems to fail with hashjoin)
|
| |
|
|
|
|
|
|
|
| |
rather than reusing the input storage.
Also made the same fix to int8smaller(), though there wasn't a symptom,
and went through and verified that other pass-by-reference data types
do the same thing. Not an issue for the by-value types.
|
|
|
|
|
|
|
|
|
|
| |
relation, rather than zeroes. This prevents the optimizer from making
foolish choices (ie, using nested-loop plans) on never-yet-vacuumed tables.
This is a hack, of course. Keeping accurate track of these statistics
would be a cleaner solution, but it's far from clear that it'd be worth
the cost of doing so. In any case we're not going to do that for 6.5.
In the meantime, this quick hack provides a useful performance improvement
in the regression tests and in many real-world scenarios.
|
|
|
|
|
|
|
|
| |
in rules regression test, in order to eliminate bogus test 'failures'
that occur due to platform-dependent and join-implementation-dependent
ordering of tuples. I'm not sure that I got all of the SELECTs that need
ordering clauses --- we may need some more. But this takes care of the
diffs between my platform and Jan's.
|
|
|
|
|
|
|
| |
sourced with \i (tried to read data from the terminal, rather than from
the source file; this breaks pg_dump scripts read with \i). Also, \o file
followed by COPY TO STDOUT wrote to terminal not designated file.
All better now.
|
|
|
|
| |
sharing across files.
|
| |
|
|
|
|
|
|
|
|
| |
time zone.
Previously, localtime() rotated a date with a day of month field which
exceeded the actual range into the next months, masking the fact that
a bad date had been specified.
Regression tests pass.
|
|
|
|
|
| |
mis-copied "NULL", which happens to have the same binary value.
Previously, gcc gave non-fatal warnings.
|
|
|
|
|
|
|
| |
Previously, dates falling within Unix system time range were run through
a call to localtime() to get the time zone, if it was not specified.
This had the effect that dates with DOMs which were larger than would be
valid for that month were "rotated" into the following months.
|
|
|
|
| |
machine (linux-2.0.36 RH5.2 with RH5.2 patches).
|
| |
|
|
|
|
| |
not match what the backend actually accepts.
|
|
|
|
|
|
| |
syntax for CREATE OPERATOR with SORT parameters. Fixed.
It is now actually possible to dump and reload a database containing
fully specified user-definable operators ...
|
| |
|
| |
|
|
|
|
|
|
| |
include platform spcific changes ...
thanks to Mark Hollomon <mhh@nortelnetworks.com> for the awk script used
|
| |
|
| |
|
|
|
|
|
|
| |
actually takes three. Please apply the following patch.
Massimo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
indexes.
1. Index Scan using plural indexids never scan backward
as to the order of indexids.
2. The cursor using Index scan is not usable after moving
past the end.
This patch solves above bugs.
Moreover the change of _bt_first() would be useful to extend
ORDER BY patch by Jan Wieck for all descending order cases.
Hiroshi Inoue
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
/*
* Have to check is inserted heap tuple deleted one
* (i.e. just moved to another place by vacuum)!
*/
|
|
|
|
| |
since April 1?
|
| |
|
|
|
|
|
|
|
|
| |
not-yet-defined operator in commutator, negator, etc links. This is
necessary in order to ensure that a pg_dump dump of user-defined operators
can be reloaded. There may still be a bug lurking here, because it's
provoking a 'Buffer Leak' notice message in one case. See my mail to
pgsql-hackers.
|
|
|
|
|
| |
These were bogus selectivity-estimator links, like a '>' operator
pointing to intltsel when it should use intgtsel.
|
|
|
|
| |
incorrect usage of commutator link.
|
|
|
|
| |
making prosrc instead of proname be the link to the actual internal function.
|
|
|
|
|
|
|
| |
hashjoin's hashFunc() so that it does the right thing with pass-by-value
data types (the old code would always return 0 for int2 or char values,
which would work but would slow things down a lot). Extend opr_sanity
regress test to catch more kinds of errors.
|
|
|
|
| |
hashjoins. Extend opr_sanity regress test to help detect similar mistakes.
|
|
|
|
|
| |
Use memcpy() rather than StrNCpy() which had forced a string termination
character at the end.
|
|
|
|
| |
of 2 to save a few cycles in md.c. So, make it 2^30 not 10^9.
|
|
|
|
| |
configuration constant to config.h.
|
|
|
|
| |
(may be used while vacuuming unique btree-s).
|
|
|
|
|
| |
2gig. Fix failure to reliably put the smaller relation on the inside of
a hashjoin.
|
|
|
|
| |
hpux_gcc too?
|
|
|
|
| |
hardwired assumption.
|
|
|
|
|
|
| |
called through fmgr. Someday we should try to actually execute the function,
but that looks like it might be a major feature addition.
Not something to try during beta phase.
|
|
|
|
| |
polygon rtree, circle rtree indexes.
|