diff options
author | jlam <jlam@pkgsrc.org> | 1999-09-19 04:24:53 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 1999-09-19 04:24:53 +0000 |
commit | cbd51db2e038f68d4dcc14252b0c5135fc8faf9f (patch) | |
tree | 3bc7ee4f12f2669b0b065e52c4579738b645412b /databases/postgresql/patches/patch-aa | |
parent | f803a09b14e7ebfff3c0fb941c6c4f3d187301b9 (diff) | |
download | pkgsrc-cbd51db2e038f68d4dcc14252b0c5135fc8faf9f.tar.gz |
Update postgresql to 6.5.1. Completely libtoolized and ldconfig statements
removed, but this should still function correctly on a.out systems. This
package was originally submitted by D'Arcy J.M. Cain, but with major
overhauling by me.
Closes PR#7865 and relevant part of PR#8299.
Major changes from version 6.4.2:
Multi-version concurrency control(MVCC)
This removes our old table-level locking, and replaces it with a
locking system that is superior to most commercial database
systems. In a traditional system, each row that is modified is
locked until committed, preventing reads by other users. MVCC
uses the natural multi-version nature of PostgreSQL to allow
readers to continue reading consistent data during writer
activity. Writers continue to use the compact pg_log transaction
system. This is all performed without having to allocate a lock
for every row like traditional database systems. So, basically,
we no longer are restricted by simple table-level locking; we
have something better than row-level locking.
Hot backups from pg_dump
pg_dump takes advantage of the new MVCC features to give a
consistant database dump/backup while the database stays online
and available for queries.
Numeric data type
We now have a true numeric data type, with user-specified
precision.
Temporary tables
Temporary tables are guaranteed to have unique names within a
database session, and are destroyed on session exit.
New SQL features
We now have CASE, INTERSECT, and EXCEPT statement support. We
have new LIMIT/OFFSET, SET TRANSACTION ISOLATION LEVEL, SELECT
... FOR UPDATE, and an improved LOCK TABLE command.
Speedups
We continue to speed up PostgreSQL, thanks to the variety of
talents within our team. We have sped up memory allocation,
optimization, table joins, and row transfer routines.
Ports
We continue to expand our port list, this time including
WinNT/ix86 and NetBSD/arm32.
Interfaces
Most interfaces have new versions, and existing functionality
has been improved.
Documentation
New and updated material is present throughout the
documentation. New FAQs have been contributed for SGI and AIX
platforms. The Tutorial has introductory information on SQL from
Stefan Simkovics. For the User's Guide, there are reference pages
covering the postmaster and more utility programs, and a new
appendix contains details on date/time behavior. The
Administrator's Guide has a new chapter on troubleshooting from
Tom Lane. And the Programmer's Guide has a description of query
processing, also from Stefan, and details on obtaining the
Postgres source tree via anonymous CVS and CVSup.
Diffstat (limited to 'databases/postgresql/patches/patch-aa')
-rw-r--r-- | databases/postgresql/patches/patch-aa | 73 |
1 files changed, 44 insertions, 29 deletions
diff --git a/databases/postgresql/patches/patch-aa b/databases/postgresql/patches/patch-aa index 65822590641..2a3a2908874 100644 --- a/databases/postgresql/patches/patch-aa +++ b/databases/postgresql/patches/patch-aa @@ -1,35 +1,50 @@ -$NetBSD: patch-aa,v 1.1 1999/01/04 13:05:01 frueauf Exp $ +$NetBSD: patch-aa,v 1.2 1999/09/19 04:24:54 jlam Exp $ ---- include/utils/memutils.h.orig Mon Sep 7 07:35:48 1998 -+++ include/utils/memutils.h Tue Dec 29 00:50:38 1998 -@@ -58,13 +58,17 @@ - #define SHORTALIGN(LEN)\ - (((long)(LEN) + (sizeof (short) - 1)) & ~(sizeof (short) - 1)) +--- ./Makefile.global.in.orig Thu Jun 24 20:13:45 1999 ++++ ./Makefile.global.in Sat Sep 18 03:20:03 1999 +@@ -54,6 +54,15 @@ + ELF_SYSTEM= @ELF_SYS@ -+#if defined(m68k) -+#define INTALIGN(LEN) SHORTALIGN(LEN) -+#else - #define INTALIGN(LEN)\ - (((long)(LEN) + (sizeof (int) - 1)) & ~(sizeof (int) -1)) -+#endif + LIBPQDIR:= $(SRCDIR)/interfaces/libpq ++LIBPGTCLDIR:= $(SRCDIR)/interfaces/libpgtcl ++ ++ifneq ($(LIBTOOL),) ++LIBPQ:= $(LIBPQDIR)/libpq.la ++LIBPGTCL:= $(LIBPGTCLDIR)/libpgtcl.la ++else ++LIBPQ:= -L$(LIBPQDIR) -lpq ++LIBPGTCL:= -L$(LIBPGTCLDIR) -lpgtcl ++endif - /* - * LONGALIGN(LEN) - length (or address) aligned for longs - */ --#if defined(sun) && ! defined(sparc) -+#if (defined(sun) && ! defined(sparc)) || defined(m68k) - #define LONGALIGN(LEN) SHORTALIGN(LEN) - #elif defined (__alpha) + # For convenience, POSTGRESDIR is where BINDIR, and LIBDIR + # and other target destinations are rooted. Of course, each of these is +@@ -200,6 +209,7 @@ + #------------------------------------------------------------- + CC= @CC@ + CPP= @CPP@ ++CXX= @CXX@ + YFLAGS= @YFLAGS@ + YACC= @YACC@ + LEX= @LEX@ +@@ -242,7 +252,7 @@ + ############################################################################## -@@ -81,7 +85,10 @@ - (((long)(LEN) + (sizeof (long) - 1)) & ~(sizeof (long) -1)) - #endif + ifneq ($(CUSTOM_INSTALL),) +-INSTALL= $(CUSTOM_INSTALL) ++INSTALL:= $(CUSTOM_INSTALL) + endif --#if ! defined(sco) -+#if defined(m68k) -+#define DOUBLEALIGN(LEN) SHORTALIGN(LEN) -+#define MAXALIGN(LEN) SHORTALIGN(LEN) -+#elif ! defined(sco) - #define DOUBLEALIGN(LEN)\ - (((long)(LEN) + (sizeof (double) - 1)) & ~(sizeof (double) -1)) + # +@@ -273,7 +283,11 @@ + # using a i486 or better. + ifneq ($(CUSTOM_CC),) +- CC= $(CUSTOM_CC) ++ CC:= $(CUSTOM_CC) ++endif ++ ++ifneq ($(CUSTOM_CXX),) ++ CXX:= $(CUSTOM_CXX) + endif + + ifneq ($(CUSTOM_COPT),) |