Commit Graph

3194 Commits

Author SHA1 Message Date
Marc G. Fournier 5e202d8586 show the index used in an explain
From: Zeugswetter Andreas SARZ <Andreas.Zeugswetter@telecom.at>
1998-04-27 16:57:09 +00:00
Marc G. Fournier 6d817475b2 From: Tom Lane <tgl@sss.pgh.pa.us>
HP-UX (all versions) requires shared libraries to have execute
permission, and really needs them to be exactly mode 555 for
performance reasons.  The standard configure/install procedure
installs libpq.sl as mode 644, which DOES NOT WORK.

The attached patch modifies the makefiles to distinguish
INSTL_LIB_OPTS (install mode for ordinary libraries) from
INSTL_SHLIB_OPTS (mode for shared libs), and adds a test
to configure to set INSTL_SHLIB_OPTS="-m 555" when on HP-UX.
1998-04-27 14:55:46 +00:00
Marc G. Fournier 1af6b56427 From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
Ok, I have finally gotten all of the defines for Dec/Alpha and
Linux/Alpha sorted out as Marc asked. There is no longer any need for
'-Dalpha' or '-Dlinuxalpha' in either the Dec/Alpha or the Linux/Alpha
template files (./src/template/{alpha,linuxalpha}). I have replaced every
instance of 'alpha' or '__alpha__' with '__alpha', as that appears to be
the common symbol between C compilers on both operating systems (RH4.2 &
DecUnix 4.0b) for alpha.
1998-04-27 14:46:51 +00:00
Marc G. Fournier 718430ea40 From: Michael Meskes <meskes@topsystem.de>
And the next update. Now you can use only parts of a struct like this:

exec sql select a into :struct.string from foo;
1998-04-27 14:35:58 +00:00
Bruce Momjian 3e3477f5a4 Add Darren's char2-16 files. 1998-04-27 13:50:03 +00:00
Bruce Momjian 09baa3cc81 This patch...
1. Removes the unnecessary "#define AbcRegProcedure 123"'s from
pg_proc.h.

2. Changes those #defines to use the names already defined in
fmgr.h.

3. Forces the make of fmgr.h in backend/Makefile instead of having
it
   made as a dependency in access/common/Makefile  *hack*hack*hack*

4. Rearranged the #includes to a less helter-skelter arrangement,
also
    changing <file.h> to "file.h" to signify a non-system header.

5. Removed "pg_proc.h" from files where its only purpose was for
the
   #defines removed in item #1.

6. Added "fmgr.h" to each file changed for completeness sake.

Turns out that #6 was not necessary for some files because fmgr.h
was being included in a roundabout way SIX levels deep by the first
include.

"access/genam.h"
 ->"access/relscan.h"
   ->"utils/rel.h"
     ->"access/strat.h"
       ->"access/skey.h"
	 ->"fmgr.h"

So adding fmgr.h really didn't add anything to the compile, hopefully
just made it clearer to the programmer.

S Darren.
1998-04-27 04:08:07 +00:00
Bruce Momjian e8fd57d763 Add prper perl config testing. 1998-04-27 03:56:59 +00:00
Bruce Momjian df533d2993 manual page update from Oliver Elphick
Oliver.Elphick@lfix.co.uk
1998-04-27 03:41:33 +00:00
Bruce Momjian 85519eea83 Fix cc-specifc compiler flags in templatees. 1998-04-27 03:32:11 +00:00
Bruce Momjian 306f89232a Fixed table type lengths for Maurice. 1998-04-27 03:19:10 +00:00
Bruce Momjian f34b9bbac8 Improved version from Claudiu 1998-04-27 03:07:18 +00:00
Bruce Momjian 4fcd0d6371 FIx confusion over SORT and SORTCLAUSE in node handling. 1998-04-27 02:58:07 +00:00
Bruce Momjian 1efd2cf7b0 Included is a patch for ecpg which seems to have some compiling
problems on non POSIX systems such as SunOS 4.1.x.  -- Tatsuo Ishii
t-ishii@sra.co.jp -
1998-04-26 23:14:39 +00:00
Bruce Momjian d31736e92b Doc updates from Darren on char2-16 removal 1998-04-26 04:18:06 +00:00
Bruce Momjian 0d203b745d Re-apply Darren's char2-16 removal code. 1998-04-26 04:12:15 +00:00
Bruce Momjian 9260d4b440 template cleanup 1998-04-24 15:58:17 +00:00
Bruce Momjian 4cbfeef912 Inline some small functions called for every row. 1998-04-24 14:43:33 +00:00
Marc G. Fournier 7500a961f1 From: Michael Meskes <meskes@topsystem.de>
+ Thu Apr 23 09:27:16 CEST 1998
+
+       - Also allow call in whenever statement with the same functionality
+         as do.
+
+ Thu Apr 23 12:29:28 CEST 1998
+
+       - Also rewrote variable declaration part. It is now possible to
+         declare more than one variable per line.
+       - Set version to 2.1.0
+
+ Fri Apr 24 13:50:15 CEST 1998
+
+       - Fixed some bugs.
+       - Set version to 2.1.1
1998-04-24 12:10:20 +00:00
Marc G. Fournier f2b64d3593 Clean up configure so that it properly (I hope?) GUESSes the template to
use, if not stipulated via --with-template
1998-04-24 01:19:00 +00:00
Bruce Momjian 491b76019e pginterface cleanup 1998-04-23 17:25:29 +00:00
Marc G. Fournier 04bd26103e Missed a few files that were added with the lib/modules patch... 1998-04-22 04:20:55 +00:00
Marc G. Fournier 5b4b3d563d From: Jun Kuwamura <juk@rccm.co.jp>
This patch fix the Makefiles in contrib/{pginterface, spi,
miscutil, int8, ip_and_mac, sequence, soundex, string, userlock,
array, datetime} to install their modules in one directory(lib/modules/).
1998-04-22 04:16:46 +00:00
Bruce Momjian 2201d48ccd Add hpux patch for cpp. 1998-04-21 16:18:30 +00:00
Marc G. Fournier 64e35e1468 Upgrade ECPG to 2.0
Michael Meskes <meskes@topsystem.de>
1998-04-21 13:23:24 +00:00
Marc G. Fournier 5e6b0a574b Try for a LINUX_ELF fix (bandage?) 1998-04-21 12:38:46 +00:00
Marc G. Fournier 5bdda53f12 From: Bryan Henderson <bryanh@giraffe-data.com>
Here's a fix for a tiny memory leak in PQsetdb/PQfinish.

(Analysis of a running program indicates there are several others, but
this is the only obvious one I saw in the code).
1998-04-21 04:00:06 +00:00
Bruce Momjian 72098f3803 Try to find cpp failure and report it. 1998-04-20 18:11:42 +00:00
Marc G. Fournier b542fa1a6e From: Peter T Mount <patches@maidast.demon.co.uk>
This fixes a problem in ResultSet.getDate() when the column is NULL
(reported by Vincent Partington <Vincent.Partington@nmg.nl>)

And fixes a problem with Field's (ResultSet.getObject() was proving to be
slow as it repetedly send queries for oid -> name mapping - fixed by
creating a cache. (reported by Mario Ellebrecht <ellebrec@nads.de>)
1998-04-18 18:32:44 +00:00
Bruce Momjian 87d96ed672 UPdate TODO list. 1998-04-17 14:54:16 +00:00
Bruce Momjian 323fefdb9d Update HISTORY/TODO. Disable HAVING. 1998-04-17 04:12:56 +00:00
Thomas G. Lockhart 09b15ff882 Use POSTGRESDIR to set initial PGDOCS destination directory.
PGDOCS in Makefile.custom will supercede defaults here, I think...
1998-04-17 03:58:11 +00:00
Thomas G. Lockhart 5a641d48ee Update info to reflect success on Alpha/Linux and Alpha/DUnix ports. 1998-04-17 03:56:08 +00:00
Thomas G. Lockhart a0ca95fa0d Fix typos in a couple of examples. 1998-04-17 03:55:01 +00:00
Marc G. Fournier 83fd305f78 A few minor mods:
gram.c updated
	scan.c updated
	ecpg/Makefile added LDFLAGS
	configure requires sfio for those systems with it installed...
1998-04-17 03:06:35 +00:00
Marc G. Fournier 19d41d4438 From: Darren King <darrenk@insightdist.com>
This will force the aix compiler to insert trapping code to
check for division by zero for the 4.1 port.
1998-04-17 02:44:01 +00:00
Marc G. Fournier 2219c230ed Get rid of the TEMPLATE verbosity and make it so that --with-template is
documented in ./configure --help
1998-04-17 01:55:31 +00:00
Marc G. Fournier 8973192283 From: Brook Milligan <brook@trillium.NMSU.Edu>
Here is a pair of patches that (I hope) finish the configuration
issues with tcl/tk and make the recognition of the two packages
completely parallel in organization.  This should make future changes
easier to maintain.

Hope to see this in 6.2.2.
1998-04-17 01:30:21 +00:00
Marc G. Fournier 34299b4fac From: David Hartwig <daveh@insightdist.com>
Marc, I overlooked this file it should be included in the source.  Oops
Also the binary file is only 1.2 meg not 2.5 meg. Oops again.
1998-04-15 21:56:54 +00:00
Bruce Momjian 4a333c4918 Update FAQ. 1998-04-15 16:50:32 +00:00
Bruce Momjian 7d03bb460d pgintro now has a list of all manual pages. 1998-04-15 16:44:36 +00:00
Bruce Momjian 5529b783a8 Move HAVING function to proper file. 1998-04-15 15:29:57 +00:00
Edmund Mergl 11c091272a 1.7.3 1998-04-14 21:14:52 +00:00
Bruce Momjian 1957f2402c Update gram.c.nd *.h files. 1998-04-14 03:28:50 +00:00
Bruce Momjian 27c490bed0 Update gram.c scan.c. 1998-04-14 01:52:47 +00:00
Bruce Momjian 8eb08ae6b9 Cleanup up code. 1998-04-13 21:07:15 +00:00
Bruce Momjian 0435ecf5d5 What was LINUX_ELF doing in there? 1998-04-13 16:34:48 +00:00
Marc G. Fournier 9e3382dfc5 Replace old PostODBC driver with new one...
This one is based on an older PostODBC driver, rewritten and maintained by
InsightDist(?)
1998-04-13 15:02:05 +00:00
Marc G. Fournier d4d26f9c33 From: Diab Jerius <dj@pelf.harvard.edu>
Fix for Solaris/cc problem
1998-04-13 14:46:48 +00:00
Bruce Momjian 66feaefa98 New book to FAQ. 1998-04-12 14:17:40 +00:00
Marc G. Fournier 07e3fb08be More work in the right direction on linux/alpha
From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
1998-04-12 02:58:22 +00:00