summaryrefslogtreecommitdiff
path: root/databases/postgresql
AgeCommit message (Collapse)AuthorFilesLines
2003-08-18Upgrade to 7.3.4. The on-disk format is the same, so a dump/restore iscjs2-5/+5
not required. Changes include: Repair breakage in timestamp-to-date conversion for dates before 2000 Prevent rare possibility of server startup failure (Tom) Fix bugs in interval-to-time conversion (Tom) Add constraint names in a few places in pg_dump (Rod) Improve performance of functions with many parameters (Tom) Fix to_ascii() buffer overruns (Tom) Prevent restore of database comments from throwing an error (Tom) Work around buggy strxfrm() present in some Solaris releases (Tom) Properly escape jdbc setObject() strings to improve security (Barry) In particular, the server startup failure mentioned above occurs when the transaction log ends on a page boundary.
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-07-11Add a comment to not forget jdbc-postgresqlabs1-1/+2
2003-06-25Update to 7.3.3. About 70 bugfixes; see the HISTORY file for details.cjs2-5/+5
2003-05-29Since postgresql explicitly checks for and fails if -ffast-math is set inabs1-1/+4
CFLAGS, strip it out. No package bump as no change in generated package.
2003-05-22Update MASTER_SITES, from Ben Collver in PR 21640.wiz1-4/+2
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-4/+4
2003-04-03Build py-postgresql from the postgresql 7.3.2 tarball. PKGREVISION++toshii5-10/+91
Remove files and patches in the py-postgresql directory and add necessary ones in the postgresql directory.
2003-04-01Add an empty do-patch rule.jmc1-1/+2
A simple make test here would have shown this to break by removing NO_PATCH without otherwise seeing why it was there..
2003-03-28NO_PATCH is deprecated, says pkglint. Remove it.wiz1-2/+1
2003-02-21Update postgresql-* to 7.3.2. Contains numerous bug fixes, including remotemycroft2-5/+5
holes. Restore creation of OID column in CREATE TABLE AS / SELECT INTO Fix pg_dump core dump when dumping views having comments Dump DEFERRABLE/INITIALLY DEFERRED constraints properly Fix UPDATE when child table's column numbering differs from parent Increase default value of max_fsm_relations Fix problem when fetching backwards in a cursor for a single-row query Make backward fetch work properly with cursor on SELECT DISTINCT query Fix problems with loading pg_dump files containing contrib/lo usage Fix problem with all-numeric user names Fix possible memory leak and core dump during disconnect in libpgtcl Make plpython's spi_execute command handle nulls properly (Andrew Bosma) Adjust plpython error reporting so that its regression test passes again Work with bison 1.875 Handle mixed-case names properly in plpgsql's %type (Neil) Fix core dump in pltcl when executing a query rewritten by a rule Repair array subscript overruns (per report from Yichen Xie) Reduce MAX_TIME_PRECISION from 13 to 10 in floating-point case Correctly case-fold variable names in per-database and per-user settings Fix coredump in plpgsql's RETURN NEXT when SELECT into record returns no rows Fix outdated use of pg_type.typprtlen in python client interface Correctly handle fractional seconds in timestamps in JDBC driver Improve performance of getImportedKeys() in JDBC Make shared-library symlinks work standardly on HPUX (Giles) Repair inconsistent rounding behavior for timestamp, time, interval SSL negotiation fixes (Nathan Mueller) Make libpq's ~/.pgpass feature work when connecting with PQconnectDB Update my2pg, ora2pg Translation updates Add casts between types lo and oid in contrib/lo fastpath code now checks for privilege to call function
2003-01-05Suppress checks for building libpgtcl.a if tcl-postgresql package isjlam1-0/+20
installed.
2003-01-05Updated databases/postgresql to 7.3.1.jlam14-440/+106
================================================================== | 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.
2002-10-19Trivially use buildlink2.jlam1-1/+2
2002-10-19Update databases/postgresql to version 7.2.3.jlam2-5/+5
This has a variety of fixes from 7.2.2, including fixes to prevent possible data loss. A dump/restore is *not* required for those running 7.2.X. Changes from version 7.2.2 include: Prevent possible compressed transaction log loss (Tom) Prevent non-superuser from increasing most recent vacuum info (Tom) Handle pre-1970 date values in newer versions of glibc (Tom) Fix possible hang during server shutdown Prevent spinlock hangs on SMP PPC machines (Tomoyuki Niijima) Fix pg_dump to properly dump FULL JOIN USING (Tom)
2002-09-26add comment that this is not included by jdbc-postgresqlabs1-2/+2
2002-09-01Update to 7.2.2 for security reasons. Only a security fix since 7.2.1jonb2-5/+5
And create a way to get rid of that stupid message from audit-packages!
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