Commit graph

102 commits

Author SHA1 Message Date
jlam
bd487625e8 Apply patch to fix alpha-related problems. 2001-02-13 02:37:43 +00:00
jlam
da659d71ac Add `shutdown' KEYWORD to rc.d control script so the database properly
shuts down during shutdown.
2001-02-12 20:11:56 +00:00
jlam
aa2e62587e s/autoreconf/${LOCALBASE}/bin/autoreconf. This was apparently missed in
the previous sweep for such changes (perhaps other Makefile.common files
also?).
2001-02-10 22:37:47 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
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-29 11:34:21 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
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.
2001-01-04 15:10:17 +00:00
jlam
1a8e753c59 Rename this script to pgsql.sh, make this script a bit more complete
and robust, and add example command_args setting to allow TCP/IP
connections to the PostgreSQL database.
2000-12-11 20:18:56 +00:00
jlam
2d6083c327 Cosmetic adjustments. 2000-12-11 16:43:11 +00:00
jlam
dd98fdf4d4 Note the packages that include this file so we note when other packages are
update when this one is updated.
2000-12-08 17:16:32 +00:00
jlam
2792146bd0 Remove unnecessary substitution of @PGHOME@ in pgsql.sh.tmpl. 2000-12-07 16:57:54 +00:00
jlam
e2cdf6a424 PGHOME is a subdir of ${PREFIX}, so pass -b ${PREFIX} to useradd instead
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-07 16:56:39 +00:00
mjl
6575822ad4 Update to 7.0.3.
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-12-07 08:29:00 +00:00
jlam
608cc53477 Install rc.d control script as "pgsql" instead of "pgsql.sh" to comply with
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-21 14:34:56 +00:00
wiz
dc1b4dd34d add RCS Id 2000-09-03 09:51:19 +00:00
wiz
29d66b632a remove unnecessary whitespace 2000-09-03 09:51:12 +00:00
wiz
49dfa3cb09 Use @PREFIX@ instead of hardwired /usr/pkg (brrr) 2000-09-01 23:57:18 +00:00
jwise
013f4050c2 Adapt patch used by ../tcl-postgresql to tcl-8.3.2. 2000-09-01 14:19:44 +00:00
jlam
f33a677414 Install the Server Programming Interface header files.
Closes PR#10480.
2000-07-15 01:23:56 +00:00
jlam
65ba05a599 Forgot these patches 2000-07-14 04:44:53 +00:00
jlam
6816c67e9c 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 <kpn@neutralgood.org> 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)
2000-07-14 04:44:11 +00:00
jlam
290d0483a5 Don't install the extra shared library links on a.out platforms. 2000-06-20 06:06:46 +00:00
fredb
0b51d75182 Remove dependency on "bison". Closes PR pkg/10224, by SUNAGAWA Keiki. 2000-05-29 15:29:11 +00:00
rh
905fee2d38 Fix MASTER_SITES
Add some additional mirrors
2000-05-24 09:11:24 +00:00
jlam
e7eaa1fbeb Add these patches back 2000-05-20 19:34:16 +00:00
jlam
aa73a794dd 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.
2000-05-20 19:32:18 +00:00
jlam
26b81e5698 Put headers into /include/pgsql. 2000-04-09 03:53:16 +00:00
jlam
fdbd3710d5 Missed this patch 2000-03-18 17:43:55 +00:00
jlam
9983612216 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.
2000-03-18 17:43:16 +00:00
kleink
2ac35c8567 Regen. 2000-03-05 19:14:30 +00:00
kleink
667cc639d9 Always test for -D__architecture__ rather than -Darchitecture; newer toolchains
(i.e. ELF on former a.out ports) are namespace-clean wrt. this, and the latter
predefine implies the former.
2000-03-05 19:12:44 +00:00
jwise
f76c8cd43a Hmmm. I thought I'd committed this a long time ago...
Split PGSQL_USE_TCL into PGSQL_USE_TCL and PGSQL_USE_TK so that postgres
can be built with tcl support on a machine without tk (such as a machine
without X installed...)
2000-02-20 00:11:19 +00:00
jlam
195512f90b Correct SHLIB_LINK redefinition and update patch checksums (patch-ak was
out of synch)
2000-02-04 18:04:34 +00:00
jwise
901c2cb6d8 Patch to make the interfaces/jdbc directory usable, even though this package
doesn't use it.  Later tonight or tomorrow morning, I will commit a jdbc-postgresql
package which will share DISTFILE and patch goo with this package.

All this may eventually be replaced if the client stuff is factored out of the
postgresql package, but that's not me.
2000-01-18 22:50:28 +00:00
jlam
24ef86f870 Update dependency on ncurses to >=4.2 2000-01-15 18:46:22 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
wiz
65954a0c01 replaced some commands by their ${COMMAND} counterparts 1999-12-28 04:56:09 +00:00
darcy
dfeeb73218 upgraded PostgreSQL to 6.5.3 and updated the dependent Makefiles 1999-12-02 01:47:04 +00:00
soren
108c077ddc Add slash to index URL. 1999-09-21 03:17:37 +00:00
jlam
745377f702 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 <yucao@falcon.kla-tencor.com>
       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)
1999-09-20 23:38:45 +00:00
jlam
1e2ade6f01 Change the semantics of PGSQL_USE_TCL to be YES/NO, defaulting to YES since
the old 6.4.2 package included the Tcl/Tk stuff.  "Backwards compatible
upgrade."
1999-09-20 03:56:25 +00:00
jlam
eca87b2342 Apply fix suggested in PR#7445 to check for existence of group before
adding PostgreSQL user to the group.

Closes PR#7445.
1999-09-19 17:05:31 +00:00
jlam
cbd51db2e0 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.
1999-09-19 04:24:53 +00:00
hubertf
822054f984 Add dependency on ncurses, and create ${PREFIX}/${PGUSER} before
"make install". Makes this package compile on 1.4.1.
1999-09-06 18:19:49 +00:00
hubertf
2794cffce1 regen after last commit 1999-09-06 17:22:22 +00:00
sakamoto
c2180c93a6 Use "PLIST_SUBST=PGUSER=${PGUSER}".
Add NetBSD Id to patch-ae.
s|/usr/sbin/chown|${CHOWN}|
s|/bin/chmod|${CHMOD}|
1999-09-06 07:01:43 +00:00
tron
57ead3cd01 Make sure that "bison" binary from package sources is used. 1999-08-24 14:18:53 +00:00
agc
bb857d2aff Record build options in the BuildInfo file via BUILD_DEFS. These can be
displayed using the -B option to pkg_info(1).
1999-08-18 09:00:23 +00:00
bad
6bc8279868 Must list tcl and tk includes in --with-includes. Noticed by
Bjoern Labitzke.

Also, libs and includes are found in LOCALBASE.
1999-07-13 17:42:57 +00:00
bad
70ac9c684a Split out second part of patch-af and make it apply and work correctly.
Fixes PR pkg/7959.
1999-07-11 20:00:43 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
tv
e1d75be620 ${...:M...} is not fully glob() compliant. Don't use {,} constructs. 1999-06-06 14:25:45 +00:00