1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-17 06:41:09 +03:00
Commit Graph

34601 Commits

Author SHA1 Message Date
9679cb3910 More cleanup 1999-07-16 17:46:32 +00:00
773088809d More cleanup 1999-07-16 17:07:40 +00:00
7d5b08dec0 More cleanup 1999-07-16 05:41:19 +00:00
69817665cb Final cleanup 1999-07-16 05:23:30 +00:00
a71802e12e Final cleanup. 1999-07-16 05:00:38 +00:00
9b645d481c Update #include cleanups 1999-07-16 03:14:30 +00:00
a9591ce66a Change #include's to use <> and "" as appropriate. 1999-07-15 23:04:24 +00:00
2e6b1e63a3 Remove unused #includes in *.c files. 1999-07-15 22:40:16 +00:00
40a89e08b2 Cleanups. 1999-07-15 20:32:30 +00:00
fb38a5d8cf Remove un-needed #include's from *.c files. 1999-07-15 19:21:43 +00:00
353eb3dadf Add updates. 1999-07-15 16:55:32 +00:00
4b2c2850bf Clean up #include in /include directory. Add scripts for checking includes. 1999-07-15 15:21:54 +00:00
390e8354ce Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports,
per bug report from Daren Sefcik <daren@partnersdata.com>.
1999-07-15 02:03:00 +00:00
8aea617c03 Several routines failed to cope with CASE expressions, and
indeed some of 'em were missing support for more node types than that...
1999-07-15 01:52:09 +00:00
0cf1b79528 Cleanup of /include #include's, for 6.6 only. 1999-07-14 01:20:30 +00:00
ad4948862c Remove S*I comments from Stephan. 1999-07-13 21:17:45 +00:00
050371fccd More cpu cleanups, only for 6.6. 1999-07-13 20:12:51 +00:00
540c114225 Redefine cpu's as __cpu__. Only for 6.6 branch. 1999-07-13 20:00:37 +00:00
30e27a9099 readd include for safety. 1999-07-12 13:32:38 +00:00
8f02f2252d Fix some compiler warnings (Tomoaki Nishiyama), add WIN1250 support (Pavel Behal) 1999-07-11 22:47:21 +00:00
eeaeb1bda8 RewritePreprocessQuery tried to match resjunk targets against
result relation ... wrong ...
1999-07-11 17:54:30 +00:00
eeb3abe017 Ignore resjunk targetlist entries when matching arguments to
a SubLink with the subplan's targetlist.  This fixes a problem seen with,
for example, a subselect that uses GROUP BY.
1999-07-11 02:04:19 +00:00
9cbd349bcd ExecReScanGroup() forgot to clear grpstate->grp_firstTuple,
thereby guaranteeing wrong results from a rescanned Group node.
1999-07-11 01:57:32 +00:00
ebc3cc7efa heapam.h uses type time_t, but didn't include <time.h>. 1999-07-10 22:06:26 +00:00
cc62dc2032 Fix tuplecmp() to ensure repeatable sort ordering of tuples
that contain null fields.  Old code would produce erratic sort results
because comparisons of tuples containing nulls could produce inconsistent
answers.
1999-07-10 18:21:59 +00:00
d62c25d452 cleanup of long long int atoi test. 1999-07-10 17:03:34 +00:00
5a3fa95c39 Update stuff for 6.5.1 release. 1999-07-10 16:28:02 +00:00
4fceee0e71 -mieee and # does not work for certain version of egcs 1999-07-10 12:33:10 +00:00
73efd3867d Fix gcc complaint about long being passed to sprintf %d. 1999-07-09 22:53:40 +00:00
863db45e86 Make ^ precidence greater than *. 1999-07-09 21:59:59 +00:00
cda192317a createlang now returns 2 for language already exists. 1999-07-09 17:57:46 +00:00
103cf75651 Re-apply range check patch after fixing LIMIT_H test and defines. 1999-07-09 17:40:31 +00:00
cd5dfb65a9 Add mention block size <= 32k. 1999-07-09 16:56:44 +00:00
b9c0096d97 Another place that HAVE_LIMITS_H was misspelled. 1999-07-09 15:09:54 +00:00
8aa780bdd3 cleanup 1999-07-09 04:51:27 +00:00
296efd8065 Fix for ACL length problem on different platforms. 1999-07-09 03:28:53 +00:00
46db8ac712 Backup pg_atoi patch for long checking. Caused initdb problems. 1999-07-09 03:27:20 +00:00
ffe0097519 Add linux_m68k template file. 1999-07-09 02:35:37 +00:00
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