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

5134 Commits

Author SHA1 Message Date
80c646958a Attached is a new patch which addresses this problem. (oids in
regression tests).

Chris Bitmead
2000-07-02 22:01:27 +00:00
e225260440 Back out Karels to_char changes. 2000-07-01 21:27:14 +00:00
99212a4847 In the attache is new to_date()/to_timestamp() version.
Now the to_timestamp() support WW,W,J,SSSS,DDD conversion from strings and
the am/pm bug is fixed, the to_char() use week-of-year (WW) full compatible
with Oracle.

 This patch update relevant regress-tests and docs too.

                                        Karel
~
~
2000-07-01 14:10:32 +00:00
bfdb695b85 Cleaned up PL/pgSQL build. Fixed a couple of copyandpaste'os in the
interfaces and interfaces/odbc make files. Adjusted regression test
driver to start building and installing in the top level directory.
2000-06-20 16:40:19 +00:00
c590273fef Clean up bogosities in pg_opclass, pg_amop, pg_amproc. There are amproc
entries now for int8 and network hash indexes.  int24_ops and int42_ops
are gone.  pg_opclass no longer contains multiple entries claiming to be
the default opclass for the same datatype.  opr_sanity regress test
extended to catch errors like these in the future.
2000-06-19 03:55:01 +00:00
1652d43358 Remove fmgrstamp-h business -- not needed and confusing
Add options to configure to automatically build for Kerberos
support; no more editing of make files.
2000-06-17 00:10:40 +00:00
f2d1205322 Another batch of fmgr updates. I think I have gotten all old-style
functions that take pass-by-value datatypes.  Should be ready for
port testing ...
2000-06-13 07:35:40 +00:00
332f0f5fc0 Rename rule CURRENT to OLD in source tree. Add mapping for backward
compatiblity with old rules.
2000-06-12 19:40:58 +00:00
3477957b44 Update sequence-related functions to new fmgr style. Remove downcasing,
quote-stripping, and acl-checking tasks for these functions from the
parser, and do them at function execution time instead.  This fixes
the failure of pg_dump to produce correct output for nextval(Foo)
used in a rule, and also eliminates the restriction that the argument
of these functions must be a parse-time constant.
2000-06-11 20:08:01 +00:00
2ae20ef98a Update regression tests for ONLY and other recent changes. 2000-06-10 05:19:26 +00:00
1c33289fd9 Clean up regression for new 1st/9th/3rd fixes. 2000-06-09 11:40:03 +00:00
4e859c3c8c Add inherit regression files. 2000-06-09 11:12:38 +00:00
8c1d09d591 Inheritance overhaul by Chris Bitmead <chris@bitmead.com> 2000-06-09 01:44:34 +00:00
48165ec226 Latest round of fmgr updates. All functions with bool,char, or int2
inputs have been converted to newstyle.  This should go a long way towards
fixing our portability problems with platforms where char and short
parameters are passed differently from int-width parameters.  Still
more to do for the Alpha port however.
2000-06-05 07:29:25 +00:00
54bce381a7 Remove FROM warning by fixing query. 2000-06-04 17:52:54 +00:00
2ea370a3ce New warning code about auto-created range table entries. 2000-06-03 04:41:34 +00:00
091126fa28 Generated header files parse.h and fmgroids.h are now copied into
the src/include tree, so that -I backend is no longer necessary anywhere.
Also, clean up some bit rot in contrib tree.
2000-05-29 05:45:56 +00:00
18952f6744 Second round of fmgr changes: triggers are now invoked in new style,
CurrentTriggerData is history.
2000-05-29 01:59:17 +00:00
ae8a2c3589 Make the world safe for QNX's busted shell ... 2000-05-24 22:32:59 +00:00
e7be9d3303 Unset PGHOST 2000-05-18 16:11:39 +00:00
61f06bc2f1 Use postmaster -i only on certain platforms. 2000-05-18 15:58:43 +00:00
e17cfa8ff1 Add QNX localhost flag to regression tests 2000-05-18 15:37:56 +00:00
362a0f68d9 The check of class string in configure (line 1732) fails because this class
is in <string> and not in <string.h> on QNX4/egcs-2.91.60.
Probably this can be changed for all platforms. The test in line 1705 uses
<string> as well. Because I am not sure, I havn't this included into the
patch.

doc/Makefile has to be sligthly  modified as it has been done for
src/backend/Makefile due to a QNX4 problem (patch attached)

Furthermore src/test/regress/run_check.sh needs to be patched as it has been
done for regress.sh (patch attached). Please note that in the patch the
postmaster is started always with the -i option.

run_check.sh reports the test "limit" as failed, but in reallity it is OK.
regress.sh reports it as OK.

Andreas Kardos
2000-05-17 16:57:41 +00:00
6dd06737ba Remove configure check for how to abbreviate 'tr A-Z a-z', and instead
just use the portable form,
tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
There were a bunch of places that weren't paying attention to configure's
result anyway (including configure itself!?); clean them up too.
2000-05-16 02:14:15 +00:00
01911c98db Repair list-vs-node confusion that resulted in failure for INNER JOIN ON.
Make it behave correctly when there are more than two tables being
joined, also.  Update regression test expected outputs.
2000-05-12 01:33:56 +00:00
1234981836 Fix libpq example return values 2000-04-25 16:39:07 +00:00
a95eec6792 Add a regress test case for SELECT count(*) FROM view, so that we'll
know if that case ever breaks again...
2000-04-20 00:32:57 +00:00
aafff4af16 Aix additions 2000-04-17 18:11:43 +00:00
52f77df613 Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
8758985c3a Prevent drop database failure from showing. 2000-04-12 05:24:51 +00:00
b64e768595 I think we want machine pattern i.86 not i386 --- looks like config.guess
could output several different high digits on most PC Unixen.
2000-04-08 19:20:10 +00:00
949e8a662d Add colo to display at end of initdb. 2000-04-08 18:35:30 +00:00
6a2d926933 Update for to_char change. 2000-04-08 02:02:26 +00:00
fd0df5058a Tweak parallel test script so that command line options for postmaster
can be set via environment variable PMOPTIONS.  Default is -o -F.
2000-04-08 01:54:47 +00:00
28fb1c196b Update create_rule manual page. 2000-04-07 19:17:51 +00:00
dce53f0dd5 resultmap additions for solaris x86 ... 2000-04-07 19:00:44 +00:00
8dce894870 Use initdb --noclean so that test database is available for examination
if initdb fails.
2000-04-07 17:51:13 +00:00
a349733bbb Add transcendental math functions (sine, cosine, etc)
Add a random number generator and seed setter (random(), SET SEED)
Fix up the interval*float8 math to carry partial months
 into the time field.
Add float8*interval so we have symmetry in the available math.
Fix the parser and define.c to accept SQL92 types as field arguments.
Fix the parser to accept SQL92 types for CREATE TYPE, etc. This is
 necessary to allow...
Bit/varbit support in contrib/bit cleaned up to compile and load
 cleanly. Still needs some work before final release.
Implement the "SOME" keyword as a synonym for "ANY" per SQL92.
Implement ascii(text), ichar(int4), repeat(text,int4) to help
 support the ODBC driver.
Enable the TRUNCATE() function mapping in the ODBC driver.
2000-04-07 13:40:45 +00:00
15942b823a Solaris geometry results were out of sync with the input file 2000-04-05 11:02:28 +00:00
5f39ba8142 Rename geometry.*bsdi to geo.*bsd. for Freebsd. 2000-04-05 02:36:41 +00:00
059f448766 freebsd 4.0 is like bsdi for geometry test ... 2000-04-05 02:25:11 +00:00
97db19c91c freebsd has *-freebsd and *-freebsdelf ... float8 passes with this 2000-04-05 02:08:29 +00:00
edd4131e6e Update regression for bsdi. 2000-04-04 04:07:53 +00:00
c1bfc9d7fa Adjusted for new (again!) config.guess output under QNX 2000-03-31 22:03:52 +00:00
ac70c3547b I have tested the beta3 on WinNT and here are the results:
- I was unable to compile ecpg due to the ":=" instead of "=" in defining
LIBPQDIR and some other variables in Makefile.global.in
- pg_id (and also pg_encoding) executable was not removed during "make
clean" - there was no $(X) appended to the executable name for rm
- I have added result for int2, int4, float8 and geometry regression tests
        - int2, int2 - yet another message for too large numbers ;-)
        - float8 - it is problably a bug in the newlib C library - it has no
error message for numbers with exponent -400
        - geometry - differences in precision of float numbers
- I have added appropriate lines into resultmap file
- I have modified the script regress.sh to use "case" statement when testing
the hostname. For cygwin the script is called with "i686-pc-cygwin" (on my
machine) as a parameter and this was not catched with the "if" statement.
The check was done for PORTNAME (win) and not HOSTNAME (i.86-pc-cygwin*).

The patch for described modifications is included.

All this modifications can be applied to "current" tree too.
The compilation was done on CygwinB20.1 with gcc 2.95, cygipc library 1.05.
The binaries were able to run also on the newest development snapshot
(2000-03-25).

                        Dan
2000-03-31 14:14:36 +00:00
418cf04987 Update from Andreas Kardos. 2000-03-31 05:36:54 +00:00
0c90431d7b Add expected output for netbsd, per report from Patrick Welche. 2000-03-31 05:30:31 +00:00
50f7b0b1b0 Add resultmap entries for datetime-related tests on alpha-dec-osf. 2000-03-31 05:13:39 +00:00
220bf7880f Update horology-solaris-1947.out per results from SL Baur. These are
actually from an alpha-dec-osf machine, but as far as can be told the
two platforms have the same ideas about past DST rules.
2000-03-31 05:11:13 +00:00
be1d9fea15 Update make_mkid for mkid version 4.0. 2000-03-31 01:41:27 +00:00