head 1.12; access; symbols pkgsrc-2013Q2:1.12.0.48 pkgsrc-2013Q2-base:1.12 pkgsrc-2012Q4:1.12.0.46 pkgsrc-2012Q4-base:1.12 pkgsrc-2011Q4:1.12.0.44 pkgsrc-2011Q4-base:1.12 pkgsrc-2011Q2:1.12.0.42 pkgsrc-2011Q2-base:1.12 pkgsrc-2009Q4:1.12.0.40 pkgsrc-2009Q4-base:1.12 pkgsrc-2008Q4:1.12.0.38 pkgsrc-2008Q4-base:1.12 pkgsrc-2008Q3:1.12.0.36 pkgsrc-2008Q3-base:1.12 cube-native-xorg:1.12.0.34 cube-native-xorg-base:1.12 pkgsrc-2008Q2:1.12.0.32 pkgsrc-2008Q2-base:1.12 pkgsrc-2008Q1:1.12.0.30 pkgsrc-2008Q1-base:1.12 pkgsrc-2007Q4:1.12.0.28 pkgsrc-2007Q4-base:1.12 pkgsrc-2007Q3:1.12.0.26 pkgsrc-2007Q3-base:1.12 pkgsrc-2007Q2:1.12.0.24 pkgsrc-2007Q2-base:1.12 pkgsrc-2007Q1:1.12.0.22 pkgsrc-2007Q1-base:1.12 pkgsrc-2006Q4:1.12.0.20 pkgsrc-2006Q4-base:1.12 pkgsrc-2006Q3:1.12.0.18 pkgsrc-2006Q3-base:1.12 pkgsrc-2006Q2:1.12.0.16 pkgsrc-2006Q2-base:1.12 pkgsrc-2006Q1:1.12.0.14 pkgsrc-2006Q1-base:1.12 pkgsrc-2005Q4:1.12.0.12 pkgsrc-2005Q4-base:1.12 pkgsrc-2005Q3:1.12.0.10 pkgsrc-2005Q3-base:1.12 pkgsrc-2005Q2:1.12.0.8 pkgsrc-2005Q2-base:1.12 pkgsrc-2005Q1:1.12.0.6 pkgsrc-2005Q1-base:1.12 pkgsrc-2004Q4:1.12.0.4 pkgsrc-2004Q4-base:1.12 pkgsrc-2004Q3:1.12.0.2 pkgsrc-2004Q3-base:1.12 pkgsrc-2004Q2:1.11.0.6 pkgsrc-2004Q2-base:1.11 pkgsrc-2004Q1:1.11.0.4 pkgsrc-2004Q1-base:1.11 pkgsrc-2003Q4:1.11.0.2 pkgsrc-2003Q4-base:1.11 netbsd-1-6-1:1.10.0.2 netbsd-1-6-1-base:1.10 netbsd-1-6:1.9.0.8 netbsd-1-6-RELEASE-base:1.9 pkgviews:1.9.0.4 pkgviews-base:1.9 buildlink2:1.9.0.2 buildlink2-base:1.9 netbsd-1-5-PATCH003:1.9 netbsd-1-4-PATCH002:1.3 comdex-fall-1999:1.3 netbsd-1-4-PATCH001:1.1 netbsd-1-4-RELEASE:1.1; locks; strict; comment @# @; 1.12 date 2004.07.24.22.48.14; author recht; state dead; branches; next 1.11; 1.11 date 2003.04.03.18.06.13; author toshii; state Exp; branches; next 1.10; 1.10 date 2003.01.05.20.12.10; author jlam; state Exp; branches; next 1.9; 1.9 date 2002.04.04.07.48.24; author jlam; state Exp; branches; next 1.8; 1.8 date 2001.05.14.14.52.38; author jlam; state Exp; branches; next 1.7; 1.7 date 2000.07.14.04.44.13; author jlam; state dead; branches; next 1.6; 1.6 date 2000.05.20.19.34.16; author jlam; state Exp; branches; next 1.5; 1.5 date 2000.05.20.19.32.29; author jlam; state dead; branches; next 1.4; 1.4 date 2000.03.18.17.43.17; author jlam; state Exp; branches; next 1.3; 1.3 date 99.09.20.23.38.48; author jlam; state Exp; branches; next 1.2; 1.2 date 99.09.19.04.24.54; author jlam; state Exp; branches; next 1.1; 1.1 date 99.01.04.13.05.01; author frueauf; state Exp; branches; next ; desc @@ 1.12 log @Delete old postgresql packages now that we have the postgresql73 ones. @ text @$NetBSD: patch-aa,v 1.11 2003/04/03 18:06:13 toshii Exp $ --- configure.in.orig Mon Feb 3 04:56:45 2003 +++ configure.in @@@@ -330,6 +330,16 @@@@ # +# Location for HTML documentation +# +htmldir='${docdir}/html' +AC_MSG_CHECKING([where to install HTML documentation]) +PGAC_ARG_REQ(with, htmldir, [ --with-htmldir=DIR install HTML documentation into DIR], [htmldir=$withval]) +AC_MSG_RESULT([$htmldir]) +AC_SUBST([htmldir]) + + +# # Tcl/Tk # AC_MSG_CHECKING([whether to build with Tcl]) @@@@ -373,6 +383,18 @@@@ PGAC_ARG_BOOL(with, python, no, [ --with-python build Python interface module]) AC_MSG_RESULT([$with_python]) AC_SUBST(with_python) + +# If python is enabled (above), then optionally byte-compile the modules. +AC_MSG_CHECKING([whether to byte-compile Python modules]) +if test "$with_python" = yes; then + PGAC_ARG_BOOL(with, python_compile, no, + [ --with-python-compile byte-compile modules if Python is enabled]) +else + with_python_compile=no +fi +AC_MSG_RESULT([$with_python_compile]) +AC_SUBST([with_python_compile]) + # # Optionally build the Java/JDBC tools @ 1.11 log @Build py-postgresql from the postgresql 7.3.2 tarball. PKGREVISION++ Remove files and patches in the py-postgresql directory and add necessary ones in the postgresql directory. @ text @d1 1 a1 1 $NetBSD$ @ 1.10 log @Updated databases/postgresql to 7.3.1. ================================================================== | NOTE: A dump-and-restore is required to update your databases | | if you wish to update postgresql-server. If your | | application examines the system catalogs, additional | | changes will be required due to the introduction of | | schemas in 7.3; for more information, see: | | | | http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3 | ================================================================== Major changes from version 7.2.3 include: Schemas Schemas allow users to create objects in separate namespaces, so two people or applications can have tables with the same name. There is also a public schema for shared tables. Table/index creation can be restricted by removing permissions on the public schema. Drop Column PostgreSQL now supports the ALTER TABLE ... DROP COLUMN functionality. Table Functions Functions returning multiple rows and/or multiple columns are now much easier to use than before. You can call such a "table function" in the SELECT FROM clause, treating its output like a table. Also, PL/pgSQL functions can now return sets. Prepared Queries PostgreSQL now supports prepared queries, for improved performance. Dependency Tracking PostgreSQL now records object dependencies, which allows improvements in many areas. "DROP" statements now take either CASCADE or RESTRICT to control whether dependent objects are also dropped. Privileges Functions and procedural languages now have privileges, and functions can be defined to run with the privileges of their creator. Internationalization Both multibyte and locale support are now always enabled. Logging A variety of logging options have been enhanced. Interfaces A large number of interfaces have been moved to http://gborg.postgresql.org where they can be developed and released independently. Functions/Identifiers By default, functions can now take up to 32 parameters, and identifiers can be up to 63 bytes long. Also, OPAQUE is now deprecated: there are specific "pseudo-datatypes" to represent each of the former meanings of OPAQUE in function argument and result types. @ text @d3 1 a3 1 --- configure.in.orig Tue Dec 17 21:07:20 2002 d5 1 a5 1 @@@@ -330,6 +330,16 @@@@ IFS=$ac_save_IFS d22 19 @ 1.9 log @Update postgresql and related packages to 7.2. Thanks to Michael Graff for most of the work on this update. Pkgsrc changes from the previous version include removing Makefile.ssl and some patches that have been integrated into this release of PostgreSQL. We leave open the question of when to byte-compile the Python modules for the PyGreSQL interface and just do it as before, although we should consider doing the compilation as a post-install step to ensure that the timestamps are correct. We also reorder some lines in the Makefile to include Makefile.common below certain definitions (GNU_CONFIGURE, USE_BUILDLINK_ONLY) as they may possibly trigger different portions of Makefile.common. *** Please note that a dump/restore is required to migrate an existing *** *** PostgreSQL installation to 7.2. *** Major changes from version 7.1.3 are geared toward improving use in high-volume applications and include: VACUUM Vacuuming no longer locks tables, thus allowing normal user access during the vacuum. A new "VACUUM FULL" command does old-style vacuum by locking the table and shrinking the on-disk copy of the table. Transactions There is no longer a problem with installations that exceed four billion transactions. OID's OID's are now optional. Users can now create tables without OID's for cases where OID usage is excessive. Optimizer The system now computes histogram column statistics during "ANALYZE", allowing much better optimizer choices. Security A new MD5 encryption option allows more secure storage and transfer of passwords. A new Unix-domain socket authentication option is available on Linux and BSD systems. PAM authentication is also available. Statistics Administrators can use the new table access statistics module to get fine-grained information about table and index usage. @ text @d3 1 a3 1 --- configure.in.orig Sun Feb 3 16:04:12 2002 d5 1 a5 1 @@@@ -150,6 +150,25 @@@@ d12 4 a15 4 +PGAC_ARG_REQ(with, htmldir, + [ --with-htmldir=DIR HTML documentation in DIR], + [htmldir=$withval]) +AC_SUBST(htmldir) d19 1 a19 10 +# Readline support +# +AC_MSG_CHECKING([whether to build with readline support]) +PGAC_ARG_BOOL(enable, readline, yes, + [ --disable-readline disable readline support]) +AC_MSG_RESULT([$enable_readline]) + + +# # Locale (--enable-locale) d21 1 a21 31 AC_MSG_CHECKING([whether to build with locale support]) @@@@ -398,6 +417,18 @@@@ AC_MSG_RESULT([$with_python]) AC_SUBST(with_python) +# If python is enabled (above), then optionally byte-compile the modules. +AC_MSG_CHECKING([whether to byte-compile Python modules]) +if test "$with_python" = yes; then + PGAC_ARG_BOOL(with, python_compile, no, + [ --with-python-compile byte-compile modules if Python is enabled]) +else + with_python_compile=no +fi +AC_MSG_RESULT([$with_python_compile]) +AC_SUBST([with_python_compile]) + + # # Optionally build the Java/JDBC tools # @@@@ -682,8 +713,10 @@@@ ## Libraries ## +if test "$enable_readline" = yes; then PGAC_CHECK_READLINE AC_SEARCH_LIBS(using_history, history, [AC_DEFINE(HAVE_HISTORY_FUNCTIONS)]) +fi if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha" then @ 1.8 log @Update postgresql to 7.1.1 Pkgsrc changes include splitting into: postgresql-lib postgresql-client postgresql-server postgresql-doc with postgresql as a meta-package. Major changes from version 7.1.1 include: Write-ahead Log (WAL) - To maintain database consistency in case of an operating system crash, previous releases of PostgreSQL have forced all data modifications to disk before each transaction commit. With WAL, only one log file must be flushed to disk, greatly improving performance. If you have been using -F in previous releases to disable disk flushes, you may want to consider discontinuing its use. TOAST - Previous releases had a compiled-in row length limit, typically 8 - 32 kB. This limit made storage of long text fields difficult. With TOAST, long rows of any length can be stored with good performance. Outer Joins - We now support outer joins. The UNION/NOT IN workaround for outer joins is no longer required. We use the SQL92 outer join syntax. Function Manager - The previous C function manager did not handle NULLs properly, nor did it support 64-bit CPU's (Alpha). The new function manager does. You can continue using your old custom functions, but you may want to rewrite them in the future to use the new function manager call interface. Complex Queries - A large number of complex queries that were unsupported in previous releases now work. Many combinations of views, aggregates, UNION, LIMIT, cursors, subqueries, and inherited tables now work properly. Inherited tables are now accessed by default. Subqueries in FROM are now supported. Migration to 7.1.1 A dump/restore using pg_dump is required for those wishing to migrate data from any previous release. @ text @d3 1 a3 1 --- configure.in.orig Sat May 5 16:05:37 2001 d5 1 a5 1 @@@@ -150,6 +150,15 @@@@ d9 10 d31 2 a32 2 @@@@ -401,6 +410,18 @@@@ [AC_MSG_RESULT(no)]) d50 1 a50 1 @@@@ -649,8 +670,10 @@@@ @ 1.7 log @Update postgresql to 7.0.2. Relevant changes from 7.0: * Enhance rc.d/pgsql.sh script to accept start/stop/restart. * Add fixes for alpha from Kevin P. Neal in PR#10543. XXX Includes a patch which removes inlining of the alpha's TAS function. XXX This is apparently some code-gen bug in GCC for alpha. * Fix many CLUSTER failures (Tom) * Allow ALTER TABLE RENAME works on indexes (Tom) * Fix plpgsql to handle datetime->timestamp and timespan->interval (Bruce) * New configure --with-setproctitle switch to use setproctitle() (Marc, Bruce) * Fix the off by one errors in ResultSet from 6.5.3, and more. * jdbc ResultSet fixes (Joseph Shraibman) * optimizer tunings (Tom) * Fix create user for pgaccess * Fix for UNLISTEN failure * Reduce COPY IN lock level (Tom) * Change libpqeasy to use PQconnectdb() style parameters (Bruce) * Fix pg_dump to handle OID indexes (Tom) * Fix small memory leak (Tom) * Solaris fix for createdb/dropdb (Tatsuo) * Fix for non-blocking connections (Alfred Perlstein) * Fix improper recovery after RENAME TABLE failures (Tom) * Copy pg_ident.conf.sample into /lib directory in install (Bruce) * Add SJIS UDC (NEC selection IBM kanji) support (Eiji Tokuya) * Fix too long syslog message (Tatsuo) * Fix problem with quoted indexes that are too long (Tom) * JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu) * ecpg changes (Michael) @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2000/05/20 19:34:16 jlam Exp $ d3 48 a50 13 --- Makefile.global.in.orig Sun Apr 16 23:44:56 2000 +++ Makefile.global.in Sat May 20 00:14:18 2000 @@@@ -208,8 +208,9 @@@@ YACC= @@YACC@@ LEX= @@LEX@@ AROPT= @@AROPT@@ -CFLAGS= -I$(SRCDIR)/include -I$(SRCDIR)/backend @@CPPFLAGS@@ @@CFLAGS@@ +CFLAGS= -I$(SRCDIR)/include -I$(SRCDIR)/backend $(CPPFLAGS) @@CFLAGS@@ CFLAGS_SL= @@SHARED_LIB@@ +CPPFLAGS= @@CPPFLAGS@@ LIBS= @@LIBS@@ LDFLAGS= @@LDFLAGS@@ $(LIBS) LDREL= -r @ 1.6 log @Add these patches back @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Update postgresql to 7.0. Also closes PR#8616. Changes from 6.5.3: A HUGE number of bug/performance fixes and minor enhancements. Foreign Keys Foreign keys are now implemented, with the exception of PARTIAL MATCH foreign keys. Many users have been asking for this feature, and we are pleased to offer it. Optimizer Overhaul Continuing on work started a year ago, the optimizer has been overhauled, allowing improved query execution and better performance with less memory usage. Updated psql psql, our interactive terminal monitor, has been updated with a variety of new features. See the psql manual page for details. Upcoming Features In 7.1 or 7.2, we plan to have outer joins, storage for very long rows, and a write-ahead logging system. A dump/restore using pg_dump is required for those wishing to migrate data from any previous release. For those upgrading from 6.5.*, you can use pg_upgrade to upgrade to this release. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2000/03/18 17:43:17 jlam Exp $ d3 13 a15 25 --- Makefile.global.in.orig Mon Nov 1 23:45:47 1999 +++ Makefile.global.in Thu Mar 16 17:49:44 2000 @@@@ -54,6 +54,11 @@@@ ELF_SYSTEM= @@ELF_SYS@@ LIBPQDIR:= $(SRCDIR)/interfaces/libpq +LIBPGTCLDIR:= $(SRCDIR)/interfaces/libpgtcl + +LIBPQ:= -L$(LIBPQDIR) -lpq +LIBPGTCL:= -L$(LIBPGTCLDIR) -lpgtcl + # For convenience, POSTGRESDIR is where BINDIR, and LIBDIR # and other target destinations are rooted. Of course, each of these is @@@@ -69,6 +74,10 @@@@ # can just put the absolute pathname to the library at the end of your # command line. LIBDIR= $(POSTGRESDIR)/lib + +# Where the database templates are stored +# +TEMPLATEDIR= $(POSTGRESDIR)/lib # This is the directory where IPC utilities ipcs and ipcrm are located # @ 1.4 log @Change structure of postgresql package. Shared library build is now unlibtoolized. Things now install into ${PREFIX} instead of ${PREFIX}/${PGSQL_USER} to match hier(7) expectations. The Tcl and Tk interfaces are now split out into separate packages. This closes the following PRs: 7384, 8747, 8789, 9272, 9461. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update PostgreSQL to 6.5.2. The pgaccess binary is no longer available from the main PostgreSQL distribution, and must be installed separately (databases/pgaccess). Relevant changes from 6.5.1: subselect+CASE fixes(Tom) Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports(Daren Sefcik) Fixes for CASE in WHERE join clauses(Tom) Fix BTScan abort(Tom) Repair the check for redundant UNIQUE and PRIMARY KEY indices(Thomas) Improve it so that it checks for multi-column constraints(Tom) Fix for Win32 making problem with MB enabled(Hiroki Kataoka) Allow BSD yacc and bison to compile pl code(Bruce) Fix SET NAMES int8 fixes(Thomas) Fix vacuum's memory consumption(Hiroshi,Tatsuo) Reduce the total memory consumption of vacuum(Tom) Fix for timestamp(datetime) Rule deparsing bugfixes(Tom) Fix quoting problems in mkMakefile.tcldefs.sh.in and mkMakefile.tkdefs.sh.in(Tom) This is to re-use space on index pages freed by vacuum(Vadim) document -x for pg_dump(Bruce) Fix for unary operators in rule deparser(Tom) Comment out FileUnlink of excess segments during mdtruncate()(Tom) Irix linking fix from Yu Cao Repair logic error in LIKE: should not return LIKE_ABORT when reach end of pattern before end of text(Tom) Repair incorrect cleanup of heap memory allocation during transaction abort(Tom) @ text @d3 3 a5 3 --- ./Makefile.global.in.orig Fri Jul 30 00:13:44 1999 +++ ./Makefile.global.in Mon Sep 20 00:49:27 1999 @@@@ -54,6 +54,15 @@@@ a10 4 +ifneq ($(LIBTOOL),) +LIBPQ:= $(LIBPQDIR)/libpq.la +LIBPGTCL:= $(LIBPGTCLDIR)/libpgtcl.la +else d13 1 a13 1 +endif d17 8 a24 15 @@@@ -200,6 +209,7 @@@@ #------------------------------------------------------------- CC= @@CC@@ CPP= @@CPP@@ +CXX= @@CXX@@ YFLAGS= @@YFLAGS@@ YACC= @@YACC@@ LEX= @@LEX@@ @@@@ -243,7 +253,7 @@@@ ############################################################################## ifneq ($(CUSTOM_INSTALL),) -INSTALL= $(CUSTOM_INSTALL) +INSTALL:= $(CUSTOM_INSTALL) endif d26 1 a27 13 @@@@ -274,7 +284,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),) @ 1.2 log @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. @ text @d3 2 a4 2 --- ./Makefile.global.in.orig Thu Jun 24 20:13:45 1999 +++ ./Makefile.global.in Sat Sep 18 03:20:03 1999 d29 1 a29 1 @@@@ -242,7 +252,7 @@@@ d38 1 a38 1 @@@@ -273,7 +283,11 @@@@ @ 1.1 log @Update postgresql to 6.4.2. Among bugfixes and new features, this also adds patches for m68k support, provided in pr 6664 by MOCHIDA Shuji. @ text @d3 4 a6 32 --- 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)) +#if defined(m68k) +#define INTALIGN(LEN) SHORTALIGN(LEN) +#else #define INTALIGN(LEN)\ (((long)(LEN) + (sizeof (int) - 1)) & ~(sizeof (int) -1)) +#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) @@@@ -81,7 +85,10 @@@@ (((long)(LEN) + (sizeof (long) - 1)) & ~(sizeof (long) -1)) #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)) d8 43 @