TDB is a Trivial Database. In concept, it is very much like GDBM,
and BSD's DB except that it allows multiple simultaneous writers
and uses locking internally to keep writers from trampling on
each other. TDB is also extremely small.
Approved by wiz.
This closes my own PR 18122.
this file is preceded by defining "USE_DB185". On NetBSD (and probably
Linux), where we already have DB-1.85 in the base system, this defaults to
using the system libraries and headers.
CHANGES from 1.8.2 to 1.8.3
1. Various configure related changes and additional updates.
CHANGES from 1.8.1 to 1.8.2
1. Allow `NEWDB'-opened databases to actually, well, store records.
CHANGES from 1.8 to 1.8.1
1. Lots of bug fixes, including a data corruption bug.
2. Updated to current autoconf and libtool.
3. Moved the dbm/ndbm compatibility routines to libgdbm_compat.
Guile-pg is a Guile module providing access and allowing updates to
PostgreSQL databases from Guile scripts. Guile is the GNU interpreter
for the Scheme language and PostgreSQL is a free relational database
management system.
Changes since 0.53 include:
* Much improved support for Microsoft servers, including SQL Server 2000
datatypes and domain logins.
* Support and convertibility of all major datatypes.
* Much expanded coverage of the ODBC API.
* An all-new BCP implementation, including host variable support.
* Character set conversions, via the iconv library.
* Threadsafe operation.
This is specified at run-time by setting pgsql_home=/path/to/home in
/etc/rc.conf. Ensure that ${pgsql_home} has the correct permissions
(o=${pgsql_user}, g=${pgsql_group}, m=0750) before initializing the
database.
Splitting out a common Makefile for future unixodbc-postgresql and
iodbc-postgresql packages.
Changes from version 7.1.3 include:
Remove query size limit (Hiroshi)
Remove text field size limit (Hiroshi)
Fix for SQLPrimaryKeys in multibyte mode (Hiroshi)
Allow ODBC procedure calls (Hiroshi)
Improve boolean handing (Aidan Mountford)
Most configuration options on setable via DSN (Hiroshi)
Multibyte, performance fixes (Hiroshi)
Allow driver to be used with iODBC or unixODBC (Peter E)
MD5 password encryption support (Bruce)
Add more compatibility functions to odbc.sql (Peter E)
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)
that hold the compiler and linker flags used to find the headers and
libraries because these packages install them into non-standard places.
These variables may be used in package Makefiles by doing:
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.<pkg>}
LDFLAGS+= ${BUILDLINK_LDFLAGS.<pkg>}
extension Makefile fragments, because they really don't have anything to
do with the buildlink[12] frameworks. Change all the Makefiles that use
application.buildlink.mk and extension.buildlink.mk to use application.mk
and extension.mk instead.
when using perl58.
XXX This is probably not the right fix. Longer term, we will want to
XXX modify the ExtUtils/MakeMaker module to properly handle not wanting
XXX to install man pages.
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
Most notable changes:
Fixed problems with selectrow_array, selectrow_arrayref, and
selectall_arrayref introduced in DBI 1.29.
The trace output can be sent to STDOUT instead of STDERR by using
"STDOUT" as the name of the file, i.e., $h->trace(..., "STDOUT")
Added $sth->{ParamValues} to return a hash of the most recent
values bound to placeholders via bind_param() or execute().
Enhanced ShowErrorStatement to include ParamValues if available:
"DBD::foo::st execute failed: errstr [for statement ``...'' with params: 1='foo']"
Fixed missing column in C implementation of fetchall_arrayref()
Added C implementations of selectrow_arrayref() and fetchall_arrayref()
in Driver.xst. All compiled drivers using Driver.xst will now be
faster making those calls.
Drivers just need to be recompiled and reinstalled to enable it.
Added $max_rows parameter to fetchall_arrayref() to optionally limit
the number of rows returned. Can now fetch batches of rows.
Added MaxRows attribute to selectall_arrayref()
which then passes it to fetchall_arrayref().
Documented that $h->func() does not trigger RaiseError etc
so applications must explicitly check for errors.
HandleError subroutine interface is now regarded as stable.
Fixed reference loop causing a handle/memory leak
that was introduced in DBI 1.16.
Fixed DBI::Format to work with 'filehandles' from IO::Scalar
and similar modules
Fixed $h->func for DBI::PurePerl
Fixed $dbh->{Name} for DBI::PurePerl
Added DBI method call profiling and benchmarking.
Added execute_array() and bind_param_array() documentation
Removed undocumented Handlers attribute (replaced by HandleError).
Greatly improved DBI::PurePerl in performance and accuracy.
Added DBI::PurePerl, a transparent DBI emulation for pure-perl drivers
See Perldoc DBI::PurePerl for details.
Added DBI::Const::GetInfo* modules
Added write_getinfo_pm utility to DBI::DBD
Added $allow_active==2 mode for prepare_cached()
Extend $h->{Warn} to commit/rollback ineffective warning
Rearrange several bits of the rrdtool build mechanism so that we're not
cheating quite as much. The end result is that rrdtool now compiles on
both ELF and a.out.
Closes pkg/14606 from Tim Preston <tim at flibble dot org>
Provided in PR 17683 by Sergio Jimenez <sjr@hispabsd.org>
phpPgAdmin is phpMyAdmin (for MySQL) ported to PostgreSQL. phpPgAdmin
is a fully functional PostgreSQL administration utility. You can use
it to create an maintain multiple databases and even multiple servers.
Features include:
- create and drop databases
- create, copy, drop and alter table/view/sequence/function/indicie/trigger
- edit and add fields (to the extent Postgres allows)
- execute any SQL-statement, even batch-queries
- manage primary and unique keys
- create and read dumps of tables
- administer one single database
- administer multiple servers
- administer postgres users and groups
Changes since 1.2219:
* dbdimp.c: Added a required check for mysql_errno.
Steve Hay <Steve.Hay@uk.radan.com>
* dbdimp.c: Removed use of mysql_eof. Jay Lawrence <jay@lawrence.net>
* dbdimp.c: Fixed mysql_is_auto_increment. Paul Walmsley
<shag-dbdmysql@booyaka.com> and Paul Dubois <paul@kitebird.org>
* dbdimp.c: Added use of mysql_ssl_set. Chris Hanes <chanes@i-c.net>
* Some fixes in the docs. Paul Dubois <paul@kitebird.com>
* Added mysql_is_auto_increment. (Someone else, but forgot his email, sorry!)
* lib/DBD/mysql.pod: Fixed minor bug in an example.
* Within AutoCommit mode, reconnect is now turned off, because the
transaction state is unpredictable otherwise.
* dbdimp.c: Added use of SvMAGICAL to dbd_db_quote.
Rudy Lippan <almighty@randomc.com>
* bind_param now using mysql_real_escape_string
as well. Dave Rolsky <autarch@urth.org>
* Added mysql_ssl flag to DBI->connect.
* Quoting now based on mysql_real_escape_string. Thanks
to Dave Rolsky <autarch@urth.org> for suggesting this.
* Portability changes for MySQL 4.
* dbdimp.c: Fixed $dbh->{mysql_insertid}; added t/insertid.t
* Added transaction support for MySQL. (Bob Lyons <lyons@nextrials.com>)
* dbd/dbdimp.c: Fixed MAXLENGTH warning; used to hint for a not existing
mysql_maxlength, which should read mysql_max_length.
(Paul DuBois <paul@snake.net>)
* Fixed installation problem when a directory was specified,
but did not exist. (Will Partain <partain@dcs.gla.ac.uk>)
* Fixed that mysql_errno wasn't used properly. (Chris Adams
<cmadams@hiwaay.net>)
* Fixed test suite problem, when user name and password
have been interpolated. (Bruno Hivert (LMC) <lmcbrhi@lmc.ericsson.se>)
* mysql_insertid and mysql_affectedrows are no longer treated
as integers, but longs. Thanks to Michael G Schwern <schwern@pobox.com>.
make test gives the same output as for the previous pkgsrc version.
Thanks, atatat!
Release 0.93
Added password encryption option to connect() request (contributed
by Tin Martone)
Added initial nsql().
Added ct_get_data(), ct_send_data() and friends func().
Added ?-style placeholder support for exec proc statements.
Changed getExtraLibs() in Makefile.PL to *not* link with -linsck
or -ltli (this avoids problems if the $SYBASE/config/libtcl.cfg
file has been set to load the threaded version of these
libraries.)
Added support for primary_key_info().
(release 0.92 was never publicly released for various reasons)
Bugs Fixed:
366 ping() fails if connection has been marked dead
364 t/fail.t bug.
Release 0.91
Removed artificial 1024 byte limit on char/varchar datatypes in
result sets.
Bug Fixes:
213: BLOBs are returned in HEX, not binary.
Release 0.90
Release number sequence change: I'm dropping the "alpha" qualifier
and I expect to release 1.00 fairly soon.
Small Makefile.PL fix for Sybase 12.0 installation directory
changes.
Applied patch from Tim Ayers to allow 0x type formatting for
binary data fetches (similar to what Sybase::CTlib and
Sybase::DBlib allow).
Fixed some t/ scripts to not fail when run against MS-SQL.
Corrected the handling of timeout events in the client
callback.
Bug Fixes:
349: CS_NUMERIC bindings for ?-style placeholders fails for large
values.
345: Dynamic statement ids get re-used.
351: prepared statements with placeholders cause handle to become
unusable if *first* execute fails.
352: ping() doesn't work right in Apache::DBI (thanks to
Kiriakos Georgiou)
353: syb_quoted_identifier doesn't work.
354: Calling fetch() after prepare() but no execute() fails with
internal DBI error. This should also fix bug # 278 and 288.
297: type_info() returns incorrect or no data.
344: timeout doesn't work correctly.
Fixes PR 15067 bye ebe@statsbiblioteket.dk
Remove `-p' from mkdir arguments, it is already part of ${MKDIR}.
While here substitute a couple of ${PREFIX} by `%D' in
`@exec ${MKDIR} ...' lines and add a couple of missing `%D' in such lines too!
DESCR:
Apache::AuthDBI.pm and Apache::DBI.pm are supposed to be used with
the Apache server together with an embedded perl interpreter like
mod_perl. They provide support for basic authentication and
authorization as well as support for persistent database connections
via Perl's Database Independent Interface (DBI).
which the basesrc USE_KERBEROS variable. Discussed on packages@
This fixes PR#17182 from Takahiro Kambe. The problem was pointed out by
FUKAUMI Naoki on a Japanese NetBSD mailing list.
Only documented change since previous pkgsrc revision is creation of
a sepearate jar file with compiled versions of the examples. Other
changes may exist.
*** 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)
<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.
<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.
than "smart" mode so that the the database will always cleanly shutdown.
Previously, postgres would wait for clients to disconnect before stopping
the database process, which sometimes resulted in unclean shutdowns.
Problem noted by Curt Sampson <cjs@cynic.net> in private email.
I also convert this to use /etc/rc.subr if it is present.
in pkg/16075.
From DESCR:
Berkeley DB is an embeddable database system that supports keyed
access to data. The software is distributed in source code form,
and developers can compile and link the source code into a single
library for inclusion directly in their applications.
Changes since 2.2216 are missing, here is the changes from 1.2215 to 1.2216 :
* Portability changes for mSQL 3 and MySQL 4.
* Added transaction support for MySQL.
(Bob Lyons <lyons@nextrials.com>)
* dbd/dbdimp.c: Fixed MAXLENGTH warning; used to hint for
a not existing mysql_maxlength, which should read
mysql_max_length. (Paul DuBois <paul@snake.net>)
* Fixed installation problem when a directory was specified,
but did not exist. (Will Partain <partain@dcs.gla.ac.uk>)
* Fixed that mysql_errno wasn't used properly. (Chris Adams
<cmadams@hiwaay.net>)
* Fixed test suite problem, when user name and password
have been interpolated. (Bruno Hivert (LMC)
<lmcbrhi@lmc.ericsson.se>)
* mysql_insertid and mysql_affectedrows are no longer treated
as integers, but longs. Thanks to Michael G Schwern
<schwern@pobox.com>.
* Don't give warning for statement that is only a comment; This is
needed for mysqldump --disable-keys to work.
* Fixed unlikely caching bug when doing a join without keys. In this case
the last used field for a table always returned NULL.
* Added options to make LOAD DATA LOCAL INFILE more secure.
* Added --xml option to mysqldump for producing XML output.
* Changed to use autoconf 2.52 (from autoconf 2.13)
* Fixed bug in complicated join with const tables.
* Added internal safety checks for InnoDB.
* Some InnoDB variables was always shown in SHOW VARIABLES as OFF on
high-byte-first systems (like sparc).
* Fixed problem with one thread using an InnoDB table and another thread
doing an ALTER TABLE on the same table. Before that, mysqld could crash
with an assertion failure in row0row.c, line 474.
* Tuned the InnoDB SQL optimizer to favor more often index searches over
table scans. SELECT queries will now also generally run faster on all
platforms.
* If MySQL binlogging is used, InnoDB now prints after crash recovery the
latest MySQL binlog name and the offset InnoDB was able to recover to.
This is useful, for example, when resynchronizing a master and a slave
database in replication.
* Added better error messages to help in installation problems of
InnoDB tables.
* One can now recover also MySQL temporary tables which have become
orphaned inside the InnoDB tablespace.
* InnoDB now prevents a FOREIGN KEY declaration where the signedness is
not the same in the referencing and referenced integer columns.
* Calling SHOW CREATE TABLE or SHOW TABLE STATUS could cause memory
corruption and make mysqld to crash. Especially at risk was mysqldump,
because it calls frequently SHOW CREATE TABLE.
* If inserts to several tables containing an auto-inc column were wrapped
inside one LOCK TABLES, InnoDB asserted in lock0lock.c.
* In 3.23.47 we allowed several NULLS in a UNIQUE secondary index for an
InnoDB table. But CHECK TABLE was not relaxed: it reports the table as
corrupt. CHECK TABLE no longer complains in this situation.
* SHOW GRANTS now shows REFERENCES instead of REFERENCE.
* Don't give warning for statement that is only a comment; This is
needed for mysqldump --disable-keys to work.
* Fixed unlikely caching bug when doing a join without keys. In this case
the last used field for a table always returned NULL.
* Added options to make LOAD DATA LOCAL INFILE more secure.
* Added --xml option to mysqldump for producing XML output.
* Changed to use autoconf 2.52 (from autoconf 2.13)
* Fixed bug in complicated join with const tables.
* Added internal safety checks for InnoDB.
* Some InnoDB variables was always shown in SHOW VARIABLES as OFF on
high-byte-first systems (like sparc).
* Fixed problem with one thread using an InnoDB table and another thread
doing an ALTER TABLE on the same table. Before that, mysqld could crash
with an assertion failure in row0row.c, line 474.
* Tuned the InnoDB SQL optimizer to favor more often index searches over
table scans. SELECT queries will now also generally run faster on all
platforms.
* If MySQL binlogging is used, InnoDB now prints after crash recovery the
latest MySQL binlog name and the offset InnoDB was able to recover to.
This is useful, for example, when resynchronizing a master and a slave
database in replication.
* Added better error messages to help in installation problems of
InnoDB tables.
* One can now recover also MySQL temporary tables which have become
orphaned inside the InnoDB tablespace.
* InnoDB now prevents a FOREIGN KEY declaration where the signedness is
not the same in the referencing and referenced integer columns.
* Calling SHOW CREATE TABLE or SHOW TABLE STATUS could cause memory
corruption and make mysqld to crash. Especially at risk was mysqldump,
because it calls frequently SHOW CREATE TABLE.
* If inserts to several tables containing an auto-inc column were wrapped
inside one LOCK TABLES, InnoDB asserted in lock0lock.c.
* In 3.23.47 we allowed several NULLS in a UNIQUE secondary index for an
InnoDB table. But CHECK TABLE was not relaxed: it reports the table as
corrupt. CHECK TABLE no longer complains in this situation.
* SHOW GRANTS now shows REFERENCES instead of REFERENCE.
Changes since 0.51:
- tdspool now working for big endian systems
- Added some descriptive text to the PWD file
- EINTR handling during login (Kostya Ivanov)
- Added support for TLI style interfaces files (thanks Michael for explaining)
- Added 'text size' config option which changes textsize on connect
- Added preliminary TDS 8.0 support (no new datatypes supported though)
- Added 'emulate little endian' config flag
- Some TDS5 placeholder stuff. Not ready for primetime yet.
- Added support for new configuration format (freetds.conf)
- unixODBC now working
- Added support for nullable bits (BITN)
- checked in work on tds connection pooling server
- added preliminary userguide (James Lowden and me)
- a lot of work on ODBC driver, now works with PHP
- added config options for iodbc/unixodbc (unixODBC doesn't actually work yet)
- image -> char now works (verified with ctlib only)
- varbinary -> char now works with destlen of -1
- New config routines
- numeric problem with 7.0 fixed
- digit cutoff on numerics/floats fixed
As well as some bug fixes.
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
Fixes part of pkg/15794 by Bernd Ernesti <bernd@arresum.inka.de>. This
wasn't actually a buildlink problem, but buildlink is flexible enough to
provide a solution.