OSDN Git Service
Bruce Momjian [Fri, 24 Apr 1998 15:58:17 +0000 (15:58 +0000)]
template cleanup
Bruce Momjian [Fri, 24 Apr 1998 14:43:33 +0000 (14:43 +0000)]
Inline some small functions called for every row.
Marc G. Fournier [Fri, 24 Apr 1998 12:10:20 +0000 (12:10 +0000)]
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
Marc G. Fournier [Fri, 24 Apr 1998 01:19:00 +0000 (01:19 +0000)]
Clean up configure so that it properly (I hope?) GUESSes the template to
use, if not stipulated via --with-template
Bruce Momjian [Thu, 23 Apr 1998 17:25:29 +0000 (17:25 +0000)]
pginterface cleanup
Marc G. Fournier [Wed, 22 Apr 1998 04:20:55 +0000 (04:20 +0000)]
Missed a few files that were added with the lib/modules patch...
Marc G. Fournier [Wed, 22 Apr 1998 04:16:46 +0000 (04:16 +0000)]
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/).
Bruce Momjian [Tue, 21 Apr 1998 16:18:30 +0000 (16:18 +0000)]
Add hpux patch for cpp.
Marc G. Fournier [Tue, 21 Apr 1998 13:23:24 +0000 (13:23 +0000)]
Upgrade ECPG to 2.0
Michael Meskes <meskes@topsystem.de>
Marc G. Fournier [Tue, 21 Apr 1998 12:38:46 +0000 (12:38 +0000)]
Try for a LINUX_ELF fix (bandage?)
Marc G. Fournier [Tue, 21 Apr 1998 04:00:06 +0000 (04:00 +0000)]
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).
Bruce Momjian [Mon, 20 Apr 1998 18:11:42 +0000 (18:11 +0000)]
Try to find cpp failure and report it.
Marc G. Fournier [Sat, 18 Apr 1998 18:32:44 +0000 (18:32 +0000)]
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>)
Bruce Momjian [Fri, 17 Apr 1998 14:54:16 +0000 (14:54 +0000)]
UPdate TODO list.
Bruce Momjian [Fri, 17 Apr 1998 04:12:56 +0000 (04:12 +0000)]
Update HISTORY/TODO. Disable HAVING.
Thomas G. Lockhart [Fri, 17 Apr 1998 03:58:11 +0000 (03:58 +0000)]
Use POSTGRESDIR to set initial PGDOCS destination directory.
PGDOCS in Makefile.custom will supercede defaults here, I think...
Thomas G. Lockhart [Fri, 17 Apr 1998 03:56:08 +0000 (03:56 +0000)]
Update info to reflect success on Alpha/Linux and Alpha/DUnix ports.
Thomas G. Lockhart [Fri, 17 Apr 1998 03:55:01 +0000 (03:55 +0000)]
Fix typos in a couple of examples.
Marc G. Fournier [Fri, 17 Apr 1998 03:06:35 +0000 (03:06 +0000)]
A few minor mods:
gram.c updated
scan.c updated
ecpg/Makefile added LDFLAGS
configure requires sfio for those systems with it installed...
Marc G. Fournier [Fri, 17 Apr 1998 02:44:01 +0000 (02:44 +0000)]
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.
Marc G. Fournier [Fri, 17 Apr 1998 01:55:31 +0000 (01:55 +0000)]
Get rid of the TEMPLATE verbosity and make it so that --with-template is
documented in ./configure --help
Marc G. Fournier [Fri, 17 Apr 1998 01:30:21 +0000 (01:30 +0000)]
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.
Marc G. Fournier [Wed, 15 Apr 1998 21:56:54 +0000 (21:56 +0000)]
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.
Bruce Momjian [Wed, 15 Apr 1998 16:50:32 +0000 (16:50 +0000)]
Update FAQ.
Bruce Momjian [Wed, 15 Apr 1998 16:44:36 +0000 (16:44 +0000)]
pgintro now has a list of all manual pages.
Bruce Momjian [Wed, 15 Apr 1998 15:29:57 +0000 (15:29 +0000)]
Move HAVING function to proper file.
Edmund Mergl [Tue, 14 Apr 1998 21:14:52 +0000 (21:14 +0000)]
1.7.3
Bruce Momjian [Tue, 14 Apr 1998 03:28:50 +0000 (03:28 +0000)]
Update gram.c.nd *.h files.
Bruce Momjian [Tue, 14 Apr 1998 01:52:47 +0000 (01:52 +0000)]
Update gram.c scan.c.
Bruce Momjian [Mon, 13 Apr 1998 21:07:15 +0000 (21:07 +0000)]
Cleanup up code.
Bruce Momjian [Mon, 13 Apr 1998 16:34:48 +0000 (16:34 +0000)]
What was LINUX_ELF doing in there?
Marc G. Fournier [Mon, 13 Apr 1998 15:02:05 +0000 (15:02 +0000)]
Replace old PostODBC driver with new one...
This one is based on an older PostODBC driver, rewritten and maintained by
InsightDist(?)
Marc G. Fournier [Mon, 13 Apr 1998 14:46:48 +0000 (14:46 +0000)]
From: Diab Jerius <dj@pelf.harvard.edu>
Fix for Solaris/cc problem
Bruce Momjian [Sun, 12 Apr 1998 14:17:40 +0000 (14:17 +0000)]
New book to FAQ.
Marc G. Fournier [Sun, 12 Apr 1998 02:58:22 +0000 (02:58 +0000)]
More work in the right direction on linux/alpha
From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
Bruce Momjian [Sun, 12 Apr 1998 01:18:35 +0000 (01:18 +0000)]
Fix for PROFILE env.
Marc G. Fournier [Sat, 11 Apr 1998 21:14:50 +0000 (21:14 +0000)]
linuxalpha patches from Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
Marc G. Fournier [Fri, 10 Apr 1998 22:07:41 +0000 (22:07 +0000)]
Oops...I used Relation->rd_fd->relname exactly, instead of using the actual
variable name *blush* *grin*
Marc G. Fournier [Fri, 10 Apr 1998 21:59:30 +0000 (21:59 +0000)]
Okay, add relation name to the file generating the error...
Marc G. Fournier [Fri, 10 Apr 1998 18:43:30 +0000 (18:43 +0000)]
See if I can determine where the BTP_CHAIN error is coming from...
Marc G. Fournier [Fri, 10 Apr 1998 02:59:38 +0000 (02:59 +0000)]
make --with-libs == --with-libraries
Bruce Momjian [Fri, 10 Apr 1998 02:48:08 +0000 (02:48 +0000)]
Clean up HISTORY file so I can generate cleaner HTML.
Bruce Momjian [Thu, 9 Apr 1998 04:42:56 +0000 (04:42 +0000)]
Oops reverse patch. no need for it.
Bruce Momjian [Thu, 9 Apr 1998 04:24:52 +0000 (04:24 +0000)]
Allow -lib-dir to find libreadline.a
Thomas G. Lockhart [Wed, 8 Apr 1998 06:42:17 +0000 (06:42 +0000)]
Still mostly empty but add info on PAGER env variable and general paging
behavior from Brett McCormick.
Thomas G. Lockhart [Wed, 8 Apr 1998 06:40:09 +0000 (06:40 +0000)]
Fix incorrect second argument type for dpow() declaration.
Thomas G. Lockhart [Wed, 8 Apr 1998 06:39:01 +0000 (06:39 +0000)]
Prepare the EXTRACT() clause for supporting TIMEZONE_HOUR
and TIMEZONE_MINUTE but don't introduce until v6.4.
Fix SET TIMEZONE LOCAL to pass null pointer
rather than older "default" string.
Fix handling of NULL pointer returns from FOREIGN KEY clauses
which are currently ignored.
Allow START as a table/column name.
Thomas G. Lockhart [Wed, 8 Apr 1998 06:35:02 +0000 (06:35 +0000)]
Temporarily back out fixes for unary minus parsing.
Will re-introduce for v6.4 but requires fixes for automatic type
conversion beforehand.
Bruce Momjian [Wed, 8 Apr 1998 02:32:52 +0000 (02:32 +0000)]
Remove name.* files.
Marc G. Fournier [Wed, 8 Apr 1998 02:06:37 +0000 (02:06 +0000)]
From: Bruce Stephens <bruce@cenderis.demon.co.uk>
fix for the tk problem...
Bruce Momjian [Tue, 7 Apr 1998 22:36:38 +0000 (22:36 +0000)]
Re-add pg_dump fix.
Bruce Momjian [Tue, 7 Apr 1998 22:00:37 +0000 (22:00 +0000)]
Reverse out pg_dump changes.
Bruce Momjian [Tue, 7 Apr 1998 21:26:52 +0000 (21:26 +0000)]
Update configure.
Bruce Momjian [Tue, 7 Apr 1998 21:01:28 +0000 (21:01 +0000)]
Update for 6.3.2
Bruce Momjian [Tue, 7 Apr 1998 18:14:38 +0000 (18:14 +0000)]
Back out char2-char16 removal. Add later.
Bruce Momjian [Tue, 7 Apr 1998 16:41:11 +0000 (16:41 +0000)]
Fix for ACL's from Thomas A. Szybist.
Bruce Momjian [Mon, 6 Apr 1998 17:52:35 +0000 (17:52 +0000)]
Assert fix
Bruce Momjian [Mon, 6 Apr 1998 17:27:54 +0000 (17:27 +0000)]
ASSERT fixes.
Bruce Momjian [Mon, 6 Apr 1998 17:02:13 +0000 (17:02 +0000)]
distclean cleanup
Bruce Momjian [Mon, 6 Apr 1998 16:53:15 +0000 (16:53 +0000)]
DESTDIR removed, again.
Thomas G. Lockhart [Mon, 6 Apr 1998 15:33:53 +0000 (15:33 +0000)]
Older html conversion of original docs to html
superceded by the new sgml/docbook versions.
Bruce Momjian [Mon, 6 Apr 1998 04:57:32 +0000 (04:57 +0000)]
destdir cleanup.
Bruce Momjian [Mon, 6 Apr 1998 03:23:01 +0000 (03:23 +0000)]
Makefile cleanup./
Bruce Momjian [Mon, 6 Apr 1998 03:10:32 +0000 (03:10 +0000)]
confiure cleanup
Bruce Momjian [Mon, 6 Apr 1998 02:38:26 +0000 (02:38 +0000)]
Cleanup of compiler warnings.
Bruce Momjian [Mon, 6 Apr 1998 02:10:49 +0000 (02:10 +0000)]
Cleanup initdb
Bruce Momjian [Mon, 6 Apr 1998 02:03:08 +0000 (02:03 +0000)]
cleanup and possible alpha-linux fix.
Bruce Momjian [Mon, 6 Apr 1998 01:36:41 +0000 (01:36 +0000)]
Make DESTDIR consistent, and verious Linux cleanups.
Bruce Momjian [Mon, 6 Apr 1998 01:16:55 +0000 (01:16 +0000)]
Re-introduce $DISTDIR.
Bruce Momjian [Mon, 6 Apr 1998 01:05:54 +0000 (01:05 +0000)]
Move initdb.sh to initdb
Bruce Momjian [Mon, 6 Apr 1998 00:32:26 +0000 (00:32 +0000)]
Hi,
Attached you'll find a (big) patch that fixes make dep and make
depend in all Makefiles where I found it to be appropriate.
It also removes the dependency in Makefile.global for NAMEDATALEN
and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh
a little smarter.
This no longer requires initdb.sh that is turned into initdb with
a sed script when installing Postgres, hence initdb.sh should be
renamed to initdb (after the patch has been applied :-) )
This patch is against the 6.3 sources, as it took a while to
complete.
Please review and apply,
Cheers,
Jeroen van Vianen
Bruce Momjian [Sun, 5 Apr 1998 22:02:56 +0000 (22:02 +0000)]
Remove DISTDIR.
Bruce Momjian [Sun, 5 Apr 1998 21:29:49 +0000 (21:29 +0000)]
this patch solve 2 problemes :
probleme number 1 :
- configure can find the library readline , but don't
find the header file . so in this case we don't use lib readline
.
probleme number 2 :
- when you have postgres 6.2.1 and readline installed
with the same prefix( and generally all your software ) . you
can compile the version 6.3 . I use this prefix , when configure
ask me for "Additional directories to search for include files"
.
( because there a conflict in the header when you
compile psql.c ) In this case, you must permut the sequence of
directive -I .
Erwan MAS
Bruce Momjian [Sun, 5 Apr 1998 21:18:03 +0000 (21:18 +0000)]
configure cleanup.
Bruce Momjian [Sun, 5 Apr 1998 21:04:50 +0000 (21:04 +0000)]
Remove GetDatabaseName/Path and use globals. Make consts later.
Bruce Momjian [Sun, 5 Apr 1998 20:54:38 +0000 (20:54 +0000)]
confiugre.in cleanup.
Bruce Momjian [Sun, 5 Apr 1998 20:28:23 +0000 (20:28 +0000)]
Here are 3 patches (all relative to the src directory) to help with
the configuration of v6.3.1. I have replaced the queries for
include/lib directories with --with configuration options. I have
also included a list of potential tcl/tk include directories directly
in the CPPFLAGS variable. As new versions are needed, these should
be added to the list in reverse numerical order (libraries are in
a separate list near the end). This greatly simplifies the later
checks if --with-tcl is set. I hope this solution works for
everyone.
I also added a check to disable the perl support if postgres was
not already installed (as per the instructions in the directory).
By the way, why must there be an installed pgsql to compile perl
support? This seems odd, at best.
Finally, I changed the Makefile in the libpgtcl interface to place
the shared libraries at the end of the list of files, not at the
beginning. With NetBSD at least, libraries are linked in order,
so the original sequence does not work.
Brook Milligan
Thomas G. Lockhart [Sun, 5 Apr 1998 17:10:41 +0000 (17:10 +0000)]
Information completely translated to the SGML/DocBook source files
pgtcl.sgml, spi.sgml, trigger.sgml.
Online docs in html and postscript are the current versions.
Thomas G. Lockhart [Sun, 5 Apr 1998 17:07:32 +0000 (17:07 +0000)]
Include complete Makefile.global if available,
rather than just Makefile.custom.
Bruce Momjian [Sun, 5 Apr 1998 05:52:10 +0000 (05:52 +0000)]
Fix for memory leak.
Thomas G. Lockhart [Sat, 4 Apr 1998 16:35:22 +0000 (16:35 +0000)]
Clean up formatting.
Add more URL links for GiST information.
Thomas G. Lockhart [Sat, 4 Apr 1998 16:34:23 +0000 (16:34 +0000)]
Include example of table loading using the COPY command.
Thomas G. Lockhart [Sat, 4 Apr 1998 16:32:01 +0000 (16:32 +0000)]
Convert body of chapter to SGML. Was embedded text from original doc.
Thomas G. Lockhart [Sat, 4 Apr 1998 16:30:31 +0000 (16:30 +0000)]
Small corrections from Phil Thompson, the original author.
Thomas G. Lockhart [Sat, 4 Apr 1998 16:26:05 +0000 (16:26 +0000)]
Include the stub docs for the rules system. Omission in original versions.
Bruce Momjian [Fri, 3 Apr 1998 20:21:51 +0000 (20:21 +0000)]
A couple of weeks ago I submitted a patch to fix configure --with-tcl.
However somebody else also applied a patch to the same part of
configure to fix a different problem. So part of my patch was not
applied or got reversed or ... whatever.
The attached patch will restore configure --with-tcl to working
order and should remove a lot of the messages complaining about
tcl not working.
Alvin
Vadim B. Mikheev [Thu, 2 Apr 1998 07:27:15 +0000 (07:27 +0000)]
Fix merging pathes of pruned rels ("indices are unused" problem).
Marc G. Fournier [Wed, 1 Apr 1998 18:47:47 +0000 (18:47 +0000)]
resync configure
Marc G. Fournier [Wed, 1 Apr 1998 15:35:33 +0000 (15:35 +0000)]
From: Maurice Gittens <mgittens@david.gits.nl>
After applying the following patch there remain two
probable buffer overruns detected by Electric Fence during
the regression test.
I'll try find out what causes the remain two ones.
This patch also corrects a typo in smgr.c.
Marc G. Fournier [Wed, 1 Apr 1998 03:13:37 +0000 (03:13 +0000)]
remove the call to port-protos.h ...
Bruce Momjian [Tue, 31 Mar 1998 23:31:10 +0000 (23:31 +0000)]
Small HAVING cleanup.
Bruce Momjian [Tue, 31 Mar 1998 15:53:51 +0000 (15:53 +0000)]
Fix macro read violation for Maurice.
Bruce Momjian [Tue, 31 Mar 1998 04:44:35 +0000 (04:44 +0000)]
Merge rename name page into alter table. Fix UNION with DISTINCT
or ORDER BY bug.
Marc G. Fournier [Tue, 31 Mar 1998 03:00:20 +0000 (03:00 +0000)]
Pointed out by: Doug Winterburn <dlw@seavme.xroads.com>
3) Add "#include "config.h" to src/interfaces/ecpg/preproc/pgc.l
to correct "strings.h not found". config.h has the proper define to
make this work and should probably be near the top of pgc.l before
the first include.
Marc G. Fournier [Tue, 31 Mar 1998 02:59:07 +0000 (02:59 +0000)]
Pointed out by: Doug Winterburn <dlw@seavme.xroads.com>
2) Add "#define gettimeofday(a,b) gettimeofday(a) to src/include/config.h
On the 88k SVR4, gettimeofday only has one argument. This is
checked for in a few other packages by configure, so there should
be some examples of the configure test out there.
Bruce Momjian [Mon, 30 Mar 1998 19:05:10 +0000 (19:05 +0000)]
documentation for HAVING, clean up UNION comment.
Bruce Momjian [Mon, 30 Mar 1998 17:46:45 +0000 (17:46 +0000)]
This simple patch to catalog/pg_type.c fixes a buffer overrun. It
was detected by Electric Fence and triggered by statements like:
SELECT * into table t from pg_database;
The system would crash on a memmove call in DataFile() with arguments
like this:
memmove(0x0, 0x0, 0);
Maurice Gittens
Bruce Momjian [Mon, 30 Mar 1998 17:39:16 +0000 (17:39 +0000)]
This problem had nothing to do with the upgrades I made. There
was a 2000 character buffer allocated for results, and the files
you refer to produce a 2765 byte column called formsource. This
should not have worked with any version of libpgtcl.
Nevertheless, the limit is an artificial one, since there is no
need to use this intermediate buffer where it is being used and
abused.
Randy Kunkee <kunkee@pluto.ops.NeoSoft.com>
Bruce Momjian [Mon, 30 Mar 1998 17:28:21 +0000 (17:28 +0000)]
The following uuencoded, gzip'd file will ...
1. Remove the char2, char4, char8 and char16 types from postgresql
2. Change references of char16 to name in the regression tests.
3. Rename the char16.sql regression test to name.sql. 4. Modify
the regression test scripts and outputs to match up.
Might require new regression.{SYSTEM} files...
Darren King
Bruce Momjian [Mon, 30 Mar 1998 17:15:26 +0000 (17:15 +0000)]
The buffer overrun while creating sequences turns out to be a read
access overrun. For the sake of doing things properly here is a
patch which fixes it.
This patch is for the file backend/commands/sequence.c.
Maurice Gittens