Commit Graph

2915 Commits

Author SHA1 Message Date
Thomas G. Lockhart
5e9e8849c9 Automatically promote out of range integers to floats.
Throw elog(NOTICE) to flag promotion.
1998-02-11 03:56:08 +00:00
Thomas G. Lockhart
9e22f82562 Fix typos in SQL statement terminators. 1998-02-11 03:51:38 +00:00
Marc G. Fournier
1f4f6b22bc regression test based off of Solaris/Sparc v2.6 1998-02-10 17:42:54 +00:00
Marc G. Fournier
38201e21d0 Erk, the whole directory structure changed on us here... 1998-02-10 16:44:17 +00:00
Marc G. Fournier
a8313f9671 Updated ECPG From: Michael Meskes <meskes@topsystem.de> 1998-02-10 16:37:01 +00:00
Bruce Momjian
0386a50f31 Pass around typmod as int16. 1998-02-10 16:04:38 +00:00
Marc G. Fournier
2a3c589c5a Clean up regression tests for SunOS (based on Solaris v2.6)
Clean up strings.out , removed func_get_detail from error message
1998-02-10 14:22:50 +00:00
Bruce Momjian
2c482cdbf2 Pass attypmod through to executor by adding to Var and Resdom. 1998-02-10 04:02:59 +00:00
Marc G. Fournier
2535fcde2a From: Peter T Mount <patches@maidast.demon.co.uk>
This patch fixes the following:

* Fixes minor bug found in DatabaseMetaData.getTables() where it doesn't
  handle default table types.
* It now reports an error if the client opens a database using
  properties, and either the user or password properties are missing. This
  should make the recent problem with Servlets easier to find.
* Commented out obsolete property in Driver.getPropertyInfo()
1998-02-09 03:22:41 +00:00
Marc G. Fournier
83e637a99a This was a new class that was introduced last weekend. I'm attaching the
source here. It goes in the src/interfaces/jdbc/postgresql/util directory

Marc, can you make sure this is in the distribution, Thanks
1998-02-09 02:16:55 +00:00
Bruce Momjian
b33f080c26 Atttypmod cleanups. 1998-02-07 21:41:52 +00:00
Bruce Momjian
65faaf3046 atttypmod now -1. 1998-02-07 06:11:56 +00:00
Bruce Momjian
ec9d5d71ec Update now that attcacheoff initial value is -1 always. 1998-02-06 20:18:01 +00:00
Bruce Momjian
6009d70eab Set attcacheoff value to -1 for all tables. 1998-02-06 19:18:06 +00:00
Bruce Momjian
c2dd3c4fef Fix for \d on long table names. 1998-02-06 17:46:31 +00:00
Bruce Momjian
b20fd6c42d FIx hasSubLinks for Vadim. 1998-02-06 16:46:29 +00:00
Marc G. Fournier
33c34920ff From: Michael Meskes <meskes@topsystem.de>
I have implemented a better user interface (well part of) so you can use it
as expected. As usual there are some bug fixes. :-)
1998-02-06 13:32:34 +00:00
Bruce Momjian
fe0154ba87 FIx for varchar(), char() and INSERT .. SELECT. 1998-02-05 22:48:44 +00:00
Bruce Momjian
4eb1ee294d Vadim fix for vacuum analyze. 1998-02-05 21:19:21 +00:00
Bruce Momjian
5e6de5d961 FIx for atttypmod on system tables. 1998-02-05 19:50:55 +00:00
Bruce Momjian
9188175ead FIx for atttypmod in system catalogs. 1998-02-05 19:02:44 +00:00
Bruce Momjian
e3f2eb1f39 Fix for varchar functions, and indextyple j-1 fix. 1998-02-05 17:22:41 +00:00
Marc G. Fournier
82034103ed From: Michael Meskes <meskes@topsystem.de>
Well this is not really a patch. But I mananged to get Linus' old Postgres95
precompiler to compile and work with PostgreSQL. The next step would be to
collect bug/missing feature reports and to put it into the distribution so
that it is made with the standard make procedure.

Warning! So far it is not tested much and it does not install correctly. But
I was able to create a small binary with it.
1998-02-05 15:46:43 +00:00
Marc G. Fournier
c10908e0d2 Symptom:
select  from  a  table  with  attrs  (a  int, b char(20))
        crashed in bpcharout() (palloc of -1 bytes). But a  table
        with attrs (a int, b varchar(20)) worked.

From: Jan Wieck <jwieck@debis.com>
1998-02-05 15:08:49 +00:00
Marc G. Fournier
692cfec8aa init_fixup_addr() function removed, so port-protos.h no longer required 1998-02-05 04:21:56 +00:00
Marc G. Fournier
7b6cbd53f7 func_error() changed so that if caller is passed with NULL value, its
output at least doesn't appear that its missing something.

wasn't particularly confident with removing 'caller' altogether :(
1998-02-05 04:08:44 +00:00
Marc G. Fournier
af7a2b3243 Build in a 'dummy' tas file...nothing in it, just used for the link process
of configure
1998-02-05 04:00:55 +00:00
Bruce Momjian
0f582cee86 char() cleanup and more cacheoff improvements. 1998-02-05 03:47:08 +00:00
Marc G. Fournier
48ad446c04 Fix up this so that it also doesn't use a caller variable... 1998-02-05 03:40:10 +00:00
Marc G. Fournier
03febc634b Clean up func_error() function completely removing caller variable as
"more info then user requires"
1998-02-05 03:35:48 +00:00
Marc G. Fournier
d85a5420f7 Port specific, compiler specfied for SGI/Irix5
From: Andrew Martin <martin@biochemistry.ucl.ac.uk>
1998-02-05 03:31:01 +00:00
Bruce Momjian
1637684af4 Cleanup getattr code. Make CHAR() use attcacheoff. 1998-02-04 21:32:12 +00:00
Marc G. Fournier
60f54d629d Try this fix for the tas.s code... 1998-02-04 13:19:32 +00:00
Thomas G. Lockhart
c1dcd59c48 Allow most expressions in BETWEEN clause. Allow all expressions if
surrounded by parentheses (but not all are meaningful).
Remove unused keywords ACL, APPEND, MERGE.
Requires a "make clean" to recompile all code since keyword numeric
 assignments have changed with keyword removal.
1998-02-04 06:11:48 +00:00
Bruce Momjian
bced35f1e1 Vacuum parameter fix. 1998-02-03 21:57:27 +00:00
Marc G. Fournier
73867f773e Strange, this should be required, but initialize need_tas to no 1998-02-03 20:30:43 +00:00
Marc G. Fournier
cadda10a14 I tried to match up the if/test stuff...fixed now, I think 1998-02-03 19:40:15 +00:00
Bruce Momjian
00f325d510 Subselects with =, >, etc.
Cleanup for vacuum help, manual page, and error message
1998-02-03 19:27:30 +00:00
Marc G. Fournier
f00a9e3e9f various i386_solaris cleanups that should fix sparc_solaris and hpux 1998-02-03 18:06:37 +00:00
Marc G. Fournier
b17bf38ccc Learning a little more about autoconf each day...
Fix inclusion of 'tas.s' for various ports
1998-02-03 16:58:46 +00:00
Thomas G. Lockhart
d6b5d8506d Supress call to tzset() in reset_timezone() if a new time zone has never
been set in the session.
General cleanup of timezone support code.
1998-02-03 16:06:49 +00:00
Thomas G. Lockhart
a90b6a4464 Remove unused keyword CHANGE. 1998-02-03 16:04:05 +00:00
Thomas G. Lockhart
93d80d3359 Define boolean functions and operators for lseg <, <=, <>, >=, >.
Define functions and operators for closest point to lseg on box,
 to line on lseg, to lseg on lseg.
Define function and operator for length of lseg.
Change length operator from '??' to '@-@'
 (currently defined for path and lseg).
1998-02-03 16:01:59 +00:00
Thomas G. Lockhart
3f52d1705a Define boolean functions for lseg <, <=, <>, >=, >
Define close_ls(), close_lseg(), lseg_length().
Write real code for close_sb(), close_pb(), inter_sb(), inter_lb().
Repair lseg_perp() which determines if two lsegs are perpendicular.
Repair lseg_dt() distance between two lsegs.
Note: close_sl() is clearly broken  but will repair later
 (calculating point on lseg rather than point on line).
1998-02-03 15:55:58 +00:00
Marc G. Fournier
50436b7214 Use proper symbol for hpux 1998-02-03 12:42:52 +00:00
Marc G. Fournier
67c4b05f41 Just another dummy file 1998-02-03 12:41:24 +00:00
Marc G. Fournier
feb5a2cfd6 Fix for various aix related 'mis-defines'
From: Darren King <darrenk@insightdist.com>
1998-02-03 02:09:08 +00:00
Marc G. Fournier
ea514d2e6a Fix for missing tas.s under sparc_solaris
Reported by:  Shiby Thomas <sthomas@cise.ufl.edu>
1998-02-03 02:07:15 +00:00
Bruce Momjian
c18ed2f5a7 Parser cleanup for expr and subqueries. 1998-02-03 01:53:24 +00:00
Marc G. Fournier
eb348bf41c Clean up the alpha port, remove the backend/port/alpha subdirectory
structure, and move the init_address_fixup() code directly into
backend/main/main.c with appropriate #ifdefs around it...
1998-02-03 01:25:47 +00:00