summaryrefslogtreecommitdiff
path: root/databases/postgresql
AgeCommit message (Collapse)AuthorFilesLines
2002-04-13Fix problem with MASTER_SITES reported by Dan McMahill in private email.jlam1-10/+9
The make variable expansion differs between 1.5.x make and a -current make, so simplify it by flattening it out.
2002-04-05Update databases/postgresql and related sub-packages to 7.2.1.jlam3-11/+11
*** Please note that a dump/restore is NOT required for those *** *** running PostgreSQL 7.2. *** Important changes from version 7.2 include: Ensure that sequence counters do not go backwards after a crash (Tom) Allow psql \connect to handle mixed case database and user names (Tom) Return proper OID on command completion even with ON INSERT rules (Tom) Allow COPY FROM to use 8-bit DELIMITERS (Tatsuo) Improve handling of multiple UNIONs with different lengths (Tom) Fix for array subscripts handling (Tom) Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/PgSQL (Tom)
2002-04-04Update postgresql and related packages to 7.2. Thanks to Michael Graffjlam15-474/+263
<explorer@flame.org> 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.
2002-03-12Add directory level "source" to MASTER_SITES. Only the newest versiontv1-9/+9
(now 7.2, but I'm not in a position to upgrade the whole shebang yet) is accessible directly form the top distro level.
2001-12-06Add -Wl flags from LDFLAGS to the EXTRA_LIBS. This allows libpq.so to bejlam2-5/+6
found at run-time, as before, the -Wl,-R options that set the run-time library search path weren't being used. Simply using LDFLAGS without filtering doesn't work because the configure script appends CFLAGS to LDFLAGS, and some commonly-used compiler options, e.g. -mcpu=..., which causes python's makesetup to choke because the options aren't in the list of recognized linker options. Thanks to D'Arcy J.M. Cain <darcy@druid.net> for pointing out the error and possible solution.
2001-12-03Use PKGREVISION to manage the package-specific version number when itjlam2-8/+3
differs from the distfile version number. G/C some the unused variables in postgresql/Makefile.common related to the old way of handling version numbers.
2001-11-04The PyGreSQL module here has some nasty bugs which will be fixed in thedarcy2-1/+260
next distribution. This patch brings it up to date now. Major fixes: - Support for more types. This fixes a bug introduced in the current PostgreSQL because of the different way of handling agregates. - Add WIN32 support - Fix some DB-API quoting problems
2001-11-01Move pkg/ files into package's toplevel directoryzuntum3-2/+2
2001-10-06Fix the MASTER_SITES. Some ftp paths changed.veego1-4/+4
2001-09-07Update postgresql and packages built from postgresql sources to 7.1.3.jlam4-25/+14
Relevant changes from version 7.1.2 include: Remove unused WAL segements of large transactions Multiaction rule fix Pl/pgSQL memory allocation fix VACUUM buffer fix pg_dump fixes for GRANT/REVOKE/comments on views, user-defined types Fix subselects with DISTINCT ON or LIMIT Disable COPY TO/FROM a view
2001-09-05Make this compile under NetBSD-1.4.x and other systems that don't come withrh2-7/+9
preinstalled libssl and libcrypto.
2001-07-27Patch readline detection to try running the test program so that we catchjlam3-137/+182
problems early on if insufficient libraries are specified during linking. Move the configure script patch to the last patch of the group so that the configure script will have the most recent timestamp.
2001-06-21Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.jlam2-5/+7
2001-06-12LIBS is automatically added to CONFIGURE_ENV by bsd.pkg.mk ifjlam1-2/+1
GNU_CONFIGURE is defined, so simply set LIBS to the appropriate value.
2001-06-11CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, sojlam1-2/+1
adapt by moving CPPFLAGS settings to top-level, and removing explicit inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,jlam1-17/+1
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra definitions to add them from the package Makefiles. As advised by the bsd.buildlink.mk file, also ensure that the buildlink.mk files are included prior to defining any package-specific CFLAGS/LDFLAGS to ensure that the buildlink directories are at the head of the compiler search paths.
2001-05-29Update postgresql to 7.1.2. Also update postgresql packages built fromjlam2-5/+5
postgresql sources: postgresql-client, postgresql-docs, postgresql-lib, postgresql-server, postgresql-plperl, postgresql-pltcl, odbc-postgresql, py-postgresql, tcl-postgresql, tk-postgresql to 7.1.2 or to depend on postgresql-libs-7.1.2. Changes from version 7.1.1: Fix PL/PgSQL SELECTs when returning no rows Fix for psql backslash core dump Referential integrity permission fix Optimizer fixes pg_dump cleanups
2001-05-25Add definitions for BUILDLINK_INCDIR and BUILDLINK_LIBDIR used by thejlam1-2/+6
post-extract target.
2001-05-24Standardize name of file to include for build-links to be "buildlink.mk".jlam1-11/+10
Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers and libraries. Create a variable BUILDLINK_TARGETS whose value is the list of build-link targets to execute.
2001-05-16Fix problem reported by David Brownlee <abs@netbsd.org> where psql isn'tjlam1-3/+1
built with readline support despite linking against libreadline.
2001-05-16Adapt postgresql-client to use devel/readline/Makefile.readline insteadjlam2-33/+10
of the one in databases/postgresql. Remove the Makefile.readline in databases/postgresql as it's no longer used by any packages.
2001-05-15Move Makefile.getopt to pkgsrc/devel/libgetopt and cosmetic updatesjlam2-24/+3
to Makefile.readline.
2001-05-15Fix dependencies and post-extract target. "Make build" injlam2-11/+17
databases/postgresql should now correctly trigger the full build and installation of PostgreSQL.
2001-05-14Document the package naming scheme for PostgreSQL packages.jlam1-1/+7
2001-05-14Update postgresql to 7.1.1 Pkgsrc changes include splitting into:jlam33-3939/+551
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.
2001-05-04Share a common distinfo file with the postgresql package.jlam1-1/+2
2001-04-18Move to sha1 digests, and add distfile sizes.agc1-2/+3
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc3-14/+12
+ move the patch digest/checksum values from files/patch-sum to distinfo + include distfile filesizes in distinfo
2001-04-10Note inclusion by odbc-postgresqljlam1-1/+2
2001-03-27Change BUILD_DEPENDS semantics:hubertf1-2/+2
first component is now a package name+version/pattern, no more executable/patchname/whatnot. While there, introduce BUILD_USES_MSGFMT as shorthand to pull in devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current). Patch by Alistair Crooks <agc@netbsd.org>
2001-03-25Make pgsql's home directory configurable. This is useful e. g. in caseswennmach5-19/+31
where ${PREFIX} is mounted read-only etc. Checked with Johnny C. Lam, who suggested two additional changes.
2001-02-26change default group from ingres to pgsql, to match behaviour of otherlukem1-2/+2
applications (uname == gname), and because we've removed the default ingres group anyway.
2001-02-16Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+3
2001-02-13Patch to fix alpha-related problems. Sent in private mail by Berndt Josefjlam1-0/+2112
Wulf <wulf@ping.net.au>. Fixes PR#10704.
2001-02-13Apply patch to fix alpha-related problems.jlam1-2/+10
2001-02-12Add `shutdown' KEYWORD to rc.d control script so the database properlyjlam1-1/+2
shuts down during shutdown.
2001-02-10s/autoreconf/${LOCALBASE}/bin/autoreconf. This was apparently missed injlam1-3/+3
the previous sweep for such changes (perhaps other Makefile.common files also?).
2001-01-29Add automatic ${VARIABLE} handling for MESSAGE files.wiz1-2/+2
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced, not @VARIABLE@, nor @@VARIABLE@@). By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX, X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST. Clean up some packages while I'm there; add RCS tags to most MESSAGEs. Remove some uninteresting MESSAGEs.
2001-01-04The way that shared objects were handled in the PLISTs and bsd.pkg.mk wasagc1-1/+9
out of date - it was based on a.out OBJECT_FMT, and added entries in the generated PLISTs to reflect the symlinks that ELF packages uses. It also tried to be clever, and removed and recreated any symbolic links that were created, which has resulted in some fun, especially with packages which use dlopen(3) to load modules. Some recent changes to our ld.so to bring it more into line with other Operating Systems also exposed some cracks. + Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain the ELF symlinks. + Don't mess about with file system entries when handling shared objects in bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will have got it right, and have a much better idea than we do. + Modify PLISTs to contain "ELF symlinks" + On a.out platforms, delete any "ELF symlinks" from the generated PLISTs + On ELF platforms, no extra processing needs to be done in bsd.pkg.mk + Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on a.out platforms + Update the documentation in Packages.txt With many thanks to Thomas Klausner for keeping me honest with this.
2000-12-11Rename this script to pgsql.sh, make this script a bit more completejlam3-47/+68
and robust, and add example command_args setting to allow TCP/IP connections to the PostgreSQL database.
2000-12-11Cosmetic adjustments.jlam4-43/+99
2000-12-08Note the packages that include this file so we note when other packages arejlam1-1/+7
update when this one is updated.
2000-12-07Remove unnecessary substitution of @PGHOME@ in pgsql.sh.tmpl.jlam1-2/+1
2000-12-07PGHOME is a subdir of ${PREFIX}, so pass -b ${PREFIX} to useradd insteadjlam4-12/+14
of directly specifying -d ${PGHOME}. Canonicalize usage of PGHOME while I'm at it. Fixes pkg/11660 by Ben Collver <collver@softhome.net>.
2000-12-07Update to 7.0.3.mjl2-4/+4
Jdbc fixes (Peter) Large object fix (Tom) Fix lean in COPY WITH OIDS leak (Tom) Fix backwards-index-scan (Tom) Fix SELECT ... FOR UPDATE so it checks for duplicate keys (Hiroshi) Add --enable-syslog to configure (Marc) Fix abort transaction at backend exit in rare cases (Tom) Fix for psql \l+ when multi-byte enabled (Tatsuo) Allow PL/pgSQL to accept non ascii identifiers (Tatsuo) Make vacuum always flush buffers (Tom) Fix to allow cancel while waiting for a lock (Hiroshi) Fix for memory aloocation problem in user authentication code (Tom) Remove bogus use of int4out() (Tom) Fixes for multiple subqueries in COALESCE or BETWEEN (Tom) Fix for failure of triggers on heap open in certain cases (Jeroen van Vianen) Fix for erroneous selectivity of not-equals (Tom) Fix for erroneous use of strcmp() (Tom) Fix for bug where storage manager accesses items beyond end of file (Tom) Fix to include kernel errno message in all smgr elog messages (Tom) Fix for '.' not in PATH at build time (SL Baur) Fix for out-of-file-descriptors error (Tom) Fix to make pg_dump dump 'iscachable' flag for functions (Tom) Fix for subselect in targetlist of Append node (Tom) Fix for mergejoin plans (Tom) Fix TRUNCATE failure on relations with indexes (Tom) Avoid database-wide restart on write error (Hiroshi) Fix nodeMaterial to honor chgParam by recomputing its output (Tom) Fix VACUUM problem with moving chain of update tuples when source and destination of a tuple lie on the same page (Tom) Fix user.c CommandCounterIncrement (Tom) Fix for AM/PM boundary problem in to_char() (Karel Zak) Fix TIME aggregate handling (Tom) Fix to_char() to avoid coredump on NULL input (Tom) Buffer fix (Tom) Fix for inserting/copying longer multibyte strings into char() data types (Tatsuo) Fix for crash of backend, on abort (Tom)
2000-09-21Install rc.d control script as "pgsql" instead of "pgsql.sh" to comply withjlam3-7/+10
how NetBSD's rc.d system interprets script names. Also add appropriate REQUIRE and PROVIDE sections to allow direct use in NetBSD's rc.d system.
2000-09-03add RCS Idwiz1-0/+1
2000-09-03remove unnecessary whitespacewiz1-2/+2
2000-09-01Use @PREFIX@ instead of hardwired /usr/pkg (brrr)wiz1-7/+7
2000-09-01Adapt patch used by ../tcl-postgresql to tcl-8.3.2.jwise2-6/+17