1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00
Commit Graph

23613 Commits

Author SHA1 Message Date
27ef825743 Rename tuturials for char2/char16 removal. 1999-07-08 15:28:51 +00:00
1a7273bd5c Rename example temp to mytemp. 1999-07-08 15:27:01 +00:00
3acb7d1634 Test Case:
----------
exec sql begin declare section;
   short s ;
   unsigned short us;
exec sql end   declare section;
exec sql create table test(s smallint, us smallint);
exec sql commit;
s = 1; us =32000;
exec sql insert into test values( :s, :us ) ;  <== error

Error Message: "i4toi2: '-600309759' causes int2 underflow"

Masaaki Sakaida
1999-07-08 03:32:57 +00:00
0343024a5c Add CXXFLAGS += 1999-07-08 03:30:16 +00:00
2cf2a4fe2b > In both datetime_trunc() and timespan_trunc() in dt.c,
> the DTK_MICROSEC case is just like the DTK_MILLISEC case.
> I think this is wrong and it ought to look like
>         fsec = rint(fsec * 1000000) / 1000000;
> no?

Tom Lane.
1999-07-08 03:22:46 +00:00
70ce98b77a Rename pg_temp to pg_sorttemp so it does not conflict with temp table names. 1999-07-08 02:46:39 +00:00
5035d7b985 pg_atoi() does range check on int4 data only if
"HAS_LONG_LONG" is defined based on the assumption that
strtol() would return ERANGE if a platform does not support
64-bit integers. In current PostgreSQL 6.5 (and 6.4.2)
distribution, "HAS_LONG_LONG" is defined only if platform
is "alpha". (See include/port/alpha.h) I think the int4
range check should apply to linux_alpha as well. (I have
not tested yet but I guess this might be applicable to
newer Linux/i386 distributions which includes new GCC which
implements long int as 64-bit int.)
1999-07-08 00:27:01 +00:00
a6c688d9cd Irix update from Mark Dalphin 1999-07-08 00:15:03 +00:00
104d6c816e Add ^ precidence. 1999-07-08 00:00:43 +00:00
38ff52c379 Allow port numbers 32k - 64k. 1999-07-07 17:17:50 +00:00
db15dc05ad Fix for \do and ceil()/float. 1999-07-07 16:09:33 +00:00
e9c977da7d Fix spelling of variable name. 1999-07-07 09:36:45 +00:00
9f7ac20e57 Cleanup of min tuple size. 1999-07-07 09:27:28 +00:00
1391098851 Fix misspelling. 1999-07-07 09:11:15 +00:00
5babe7db45 Remove old readme file. 1999-07-05 21:48:21 +00:00
137eacbe6a Align cleanup. 1999-07-04 05:47:06 +00:00
a0b4af3c85 More alignment 1999-07-04 05:44:56 +00:00
ede5a41829 Clean up maximum rewrite tuple length. 1999-07-04 05:16:05 +00:00
eba41848aa Clarify maximum tuple and max attribute lengths. 1999-07-04 04:56:02 +00:00
b31aa64f4a Make exec_simple_check_plan() check for a null plan, so
that it doesn't crash when processing a utility statement.
1999-07-04 01:03:01 +00:00
efb621278e Add abortcurrent trans to temp table fix. 1999-07-03 15:43:57 +00:00
ff8756dd1c More cleanup 1999-07-03 01:57:53 +00:00
b1444b0934 Update tuple size check. 1999-07-03 01:56:16 +00:00
8dd3407bf5 Fix for insertion of tuple too large. 1999-07-03 01:47:02 +00:00
97dfff832c Fix to prevent too large tuple from being created. 1999-07-03 00:33:04 +00:00
954e466c27 Fix for removal of temp tables if last transaction was aborted. 1999-07-02 18:09:28 +00:00
d20abcd8c5 typo fix. 1999-07-02 03:21:37 +00:00
c9a0a232e2 #ifdef around true and false. 1999-07-01 19:47:25 +00:00
0aa544eb41 make distclean missed a few symlinks created by configure. 1999-07-01 00:06:28 +00:00
fa179dde82 Make sure symlinks for sharedlib get removed by 'make clean'. 1999-06-30 23:57:31 +00:00
7bf29f6b78 Generate a full set of version-numbered symlinks when building
a shared library, not just when installing it.
1999-06-30 23:54:18 +00:00
9b0e20574b *** empty log message *** 1999-06-29 09:25:25 +00:00
49f68a8584 Avoid disk writes for read-only transactions. 1999-06-29 04:54:49 +00:00
cffd0f9c89 Add time warning about bigtests. 1999-06-28 18:40:34 +00:00
e70b4831d7 Some minor bug fixes 1999-06-27 11:05:38 +00:00
fe90c54800 Add var defines for no testandset 1999-06-26 15:58:28 +00:00
ef15ed17a0 Remove -m486 on Openbsd. 1999-06-26 15:54:36 +00:00
19630e0cbc *** empty log message *** 1999-06-25 10:42:06 +00:00
b692c956ba Makefile.global failed to define $(LIBS), which is
unfortunate considering that several subdirectory makefiles were counting
on it to do so...
1999-06-25 00:13:45 +00:00
d12561040c *** empty log message *** 1999-06-24 13:15:31 +00:00
dc88d74af3 Some fixes supplied by Jon Nielsen jonfn@image.dk 1999-06-23 05:56:20 +00:00
1f2c6f4f48 Replace rewriter's checkQueryHasAggs and checkQueryHasSubLink
with expression_tree_walker-based code.  The former failed to cope with
expressions containing SubLinks, and the latter returned TRUE for both
SubLinks and Aggrefs (cut-and-paste bug?).  There is a lot more scope for
using expression_tree_walker in this module, but I'll restrain myself
until the 6.6 split occurs from touching not-demonstrably-broken code.
1999-06-21 01:26:56 +00:00
fd8e580bb7 Clean up problems with sublinks + grouping in planner. Not
sure if they are all fixed, because rewriter is now the stumbling block,
but at least some cases work that did not work before.
1999-06-21 01:20:57 +00:00
974bdd94f9 On second thought, expression_tree_walker should handle bare
SubLink nodes after all ...
1999-06-21 01:18:02 +00:00
db4a6a2618 I have a small patch for 6.5.
aclchk.c: heap_close() is not called after calling heap_openr().

Atsushi Ogawa
1999-06-19 05:05:52 +00:00
8d37132ec9 Rename to vararg_format(). 1999-06-19 05:00:30 +00:00
326d8658ad Change form() to varargform() to prevent portability problems. 1999-06-19 04:54:23 +00:00
e786508600 My first chosen victim for expression_tree_walker conversion
is parse_aggs.c.  This fixes its failure to cope with (at least) CaseExpr
and ArrayRef nodes, which is the reason why both of these fail in 6.5:
select coalesce(f1,0) from int4_tbl group by f1;
ERROR:  Illegal use of aggregates or non-group column in target list
select sentence.words[0] from sentence group by sentence.words[0];
ERROR:  Illegal use of aggregates or non-group column in target list
The array case still fails, but at least it's not parse_agg's fault
anymore ... considering that we now support CASE officially, I think
it's important to fix the first example ...
1999-06-19 03:48:31 +00:00
86f36719db Create a generic expression-tree-walker subroutine, which
will gradually replace all of the boilerplate tree-walk-recursion code that
currently exists in O(N) slightly different forms in N subroutines.
I've had it with adding missing cases to these subroutines...
1999-06-19 03:41:45 +00:00
d30c4b0562 Temporarily disable error checks for missing selectivity
functions, in order to work around oversight in 6.5 release: rtree
index functions haven't got any.  Mea culpa ...
1999-06-19 00:44:44 +00:00