Bruce Momjian
f4dcafc825
Clean up typo causing compile failure.
27 years ago
Tom Lane
17dbeebb5f
Fill in reasonable-looking cost estimates in inserted nodes.
...
This makes no difference to the optimizer, which has already decided what
it's gonna do, but it makes the output of EXPLAIN much more plausible.
27 years ago
Tom Lane
7a7ba33536
Clean up some bogosities in path cost estimation, like
...
sometimes estimating an index scan of a table to be cheaper than a
sequential scan of the same tuples...
27 years ago
Tom Lane
11a0027e28
Fix nasty little typo that prevented get_cheapest_path_for_joinkeys
...
from ever returning a path. This put a bit of a crimp in the system's
ability to generate intelligent merge-join plans...
27 years ago
Bruce Momjian
52f1b2f3b6
Prevent priority inversion in locking by checking for existing locks
...
before going into queue behind person with higher piority.
27 years ago
Jan Wieck
7d62e9c719
Bugfix (bug by me in 1.4) in backparsing INSERT ... SELECT
...
Jan
27 years ago
Tom Lane
99f61dac7e
Defend against 'update oid'. Someday we might want to support
...
that, but it'd be a New Feature, wouldn't it ... in the meantime,
avoiding a backend crash seems worthwhile.
27 years ago
Tom Lane
fd31563777
Aggregate functions didn't work on subscripted array references.
...
Things are better now.
27 years ago
Tom Lane
970583ab4f
Several routines in setrefs.c would crash on array refs
...
due to lack of check for recursing into a null subexpression.
27 years ago
Tom Lane
89cf9303fd
Fix stupid typo that broke empty-query response... odd that
...
this is not revealed by any of our regression tests...
27 years ago
Jan Wieck
26909a0797
Fixed DECIMAL data type to handle specified precision in atttypmod
...
Jan
27 years ago
Tatsuo Ishii
6e702210c2
Fix for _copyUnique() suggested by Hiroshi Inoue
27 years ago
Marc G. Fournier
1c1cafe72f
These are no longer used ...
27 years ago
Marc G. Fournier
a4041bce99
provides string to be used for expected/* files for system specific output...
27 years ago
Michael Meskes
dd6b1aaa25
*** empty log message ***
27 years ago
Tatsuo Ishii
89c7369d0e
Fix from Yutaka Tanida <yutaka@marin.or.jp> for Cygwin32 support.
27 years ago
Tatsuo Ishii
c84ea433d7
Fix from Yutaka Tanida <yutaka@marin.or.jp>
27 years ago
Tom Lane
eb00bdf237
Insert a test for missing targetlist entry in replace_agg_clause.
27 years ago
Tom Lane
26db818710
It looks like the multibyte regress tests only work if both
...
the database encoding and the client encoding match the encoding expected
by the test. So, force both of them to be set from the MULTIBYTE
environment var. This allows regress tests to be run successfully in
multibyte environments other than the compiled-in default.
27 years ago
Tom Lane
d69344c520
More multibyte tests with obsolete spelling of error message...
27 years ago
Tom Lane
22fe451c9d
psql's recognition of comments didn't work right in MULTIBYTE
...
environments; it was being careless about character lengths.
27 years ago
Tom Lane
109cbc7217
Explicitly set PGCLIENTENCODING during regression tests,
...
since multibyte tests fail if it's different from database...
27 years ago
Tom Lane
122923c97f
Still had a few MULTIBYTE problems when client encoding was
...
different from database's ...
27 years ago
Tom Lane
0d99c95388
Correct potential infinite loop in pg_utf2wchar_with_len;
...
it failed to cover the case where high bits of char are 100 or 101.
Not sure if fix is right, but it agrees with pg_utf_mblen ... and it
doesn't lock up ...
27 years ago
Tom Lane
2acfc4f6b4
Multibyte tests were all 'failing' because of change of
...
wording of 'relation does not exist' error message. Update expected files
accordingly.
27 years ago
Tom Lane
40cad8b66f
My first cut at libpq revision didn't handle MULTIBYTE correctly,
...
but I think it's OK now...
27 years ago
Tom Lane
fad6f2925c
Clean up gcc warning in MULTIBYTE code.
27 years ago
Tom Lane
6f668ee108
ifdef out some unused routines to suppress gcc warnings.
27 years ago
Tom Lane
187c58f275
Ooops, missed committing this one...
27 years ago
Tom Lane
95cc41b81d
Revise backend libpq interfaces so that messages to the frontend
...
can be generated in a buffer and then sent to the frontend in a single
libpq call. This solves problems with NOTICE and ERROR messages generated
in the middle of a data message or COPY OUT operation.
27 years ago
Bruce Momjian
fc08814e00
Rename explain's "size" to "rows".
27 years ago
Bruce Momjian
35b168656b
Add disk space message to "can not extend" message.
27 years ago
Thomas G. Lockhart
c3a32d7595
Remove "Non-functional update" notices since that message has been
...
disabled (commented-out) in the code.
27 years ago
Tom Lane
c42926f10b
Repair missing heap_endscan() in OperatorUpd().
27 years ago
Vadim B. Mikheev
3888b53a58
Fix duplicating ROOT page in concurrent updates.
27 years ago
Tom Lane
00fbb64bed
Un-break CREATE TYPE. Fix some other inconsistencies in the
...
pg_proc entries for array I/O routines besides the one detected by the
original patcher. Tighten type_sanity regress test accordingly.
27 years ago
Tom Lane
09c5e84072
Change elog(ERROR) to get back to main loop via a plain sigsetjmp,
...
instead of doing a kill(self, SIGQUIT) and expecting the signal handler
to do it. Also, clean up inconsistent definitions of the sigjmp buffer
in the several files that already referenced it.
27 years ago
Tom Lane
d30e2ac306
Portability patches for HPUX 11 and Unixware in configure
...
and related files. Also remove float.c's gratuitous redeclaration of
isinf() ... looks like there are more decls in there that ought to be
in config.h, but I'll leave well enough alone for now ...
27 years ago
Bruce Momjian
6eccfbc727
Add temporary for temp.
27 years ago
Tatsuo Ishii
f3a7addb03
Fix typo in multi-byte encodings (EHC_CN --> EUC_CN)
27 years ago
Tom Lane
a58843b49a
Fix problems seen when result of a subselect was used in an
...
expression context (ie, not at the top level of a WHERE clause). Examples
like this one work now:
SELECT name, value FROM t1 as touter WHERE
(value/(SELECT AVG(value) FROM t1 WHERE name = touter.name)) > 0.75;
27 years ago
Tom Lane
4438b70b94
Repair some problems in planner's handling of HAVING clauses.
...
This fixes a few of the problems Hiroshi Inoue complained of, but
I have not touched the rewrite-related issues.
27 years ago
Tom Lane
2deef968f4
After transforming a CASE expr with a default argument,
...
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
27 years ago
Tom Lane
38405e1894
Update CREATE FUNCTION's on-line help in psql.
27 years ago
Tom Lane
4b82c6d940
Allow CREATE FUNCTION xyz AS '' LANGUAGE 'internal' to
...
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.
27 years ago
Bruce Momjian
00a4196139
Add res checking to libpq examples, from Dan Merillat.
27 years ago
Tom Lane
1b9f24c878
Add missing function prototypes to stifle gcc warnings.
27 years ago
Michael Meskes
ad5a54d170
*** empty log message ***
27 years ago
Tatsuo Ishii
075dc252c7
Fix kill() call in elog() so that it gets its own pid by calling getpid().
...
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.
27 years ago
Tatsuo Ishii
e062a176a8
Overhaul Wisconsin Benchmark test suit
...
- 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)
27 years ago