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.
Fixed that altering ShowErrorStatement also altered AutoCommit!
Fixed DBD::Proxy to handle commit() and rollback(). Long overdue, sorry.
Fixed incompatibility with perl 5.004 (but no one's using that right? :)
Fixed connect_cached and prepare_cached to not be affected by the order
of elements in the attribute hash.
Fixed version number of DBI::Shell
Defined and documented table_info() attribute semantics (ODBC compatible)
linked from a particular package, and add a pre-configure target to
the buildlink.mk file to more painlessly use buildlink.mk files. A
${BUILDLINK_TARGETS} variable still exists in case a package _must_
define NO_CONFIGURE.
Reimplemented fetchrow_hashref in C, now fetches about 25% faster!
Changed behaviour if both PrintError and RaiseError are enabled
to simply do both (in that order, obviously :)
Slight reduction in DBI handle creation overhead
Fixed $dbh->{Driver} & $sth->{Database} to return 'outer' handles.
Fixed execute param count check to honour RaiseError
Fixed build for perl5.6.1 with PERLIO
Fixed client sql restrictions in ProxyServer.pm
Fixed batch mode command parsing in Shell
Fixed typo in selectcol_arrayref docs
Fixed selectrow_hashref to be available to callers
Fixed core dump if statement handle didn't define Statement attribute
Added bind_param_inout docs to DBI::DBD
Added note to data_sources() method docs that some drivers may
require a connected database handle to be supplied as an attribute
Trace of install_driver method now shows path of driver file loaded
Changed many '||' to 'or' in the docs
Updated DBD::ADO again (improvements in error handling)
Updated Win32::DBIODBC (Win32::ODBC emulation)
Updated email and web addresses in DBI::FAQ
- SearchBuilder.pm - refactored to allow LEFT joins.
- SearchBuilder::Record::Cachable now constructs cache keys in a way
that doesn't lose when records in different tables have the same keys.
- Added DBIx::SearchBuilder::Record::Cachable from <mhat@netlag.com>
- Changed SearchBuilder->Count to do the right thing if no
query has been performed
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
- fix segmentation fault in pg_error
- bug-fix for core-dump after any failed function call
- add support for the datatype bytea
- fix bug in connect method, which erroneously set the userid and the
password to the environment variables DBI_USER and DBI_PASS
- which removed the special handling of a backslash when used for octal
presentation. Now a backslash always will be escaped.
- remove memory-leak in ping function, bug-fix
- correct the recognition of primary keys in table_attributes().
- fix a segmentation fault in DBD::pg::blob_read() when reading LOBs that
required perl to reallocate space for the variable holding the scalar value
- updated test.pl to create a test blob larger than 256 bytes (now 128 Kbytes)
- fix a seg-fault when inserting large amounts of text.
- remove the newlines from the error messages and quote date placeholders.
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.
databases prior to installing a new version of PostgreSQL from PRE-INSTALL
time to DEINSTALL time. Remove ${CAT} from the INSTALL file as it's no
longer needed in the script.
start_precmd in the pgsql rc.d script. This is more correct, since if
postgresql-server is installed but never used, then no database really
needs to be initialized. As a side-effect, the bulk-builds of postgresql
should now leave less crud in the aftermath of deinstalling postgresql.
changes from version 7.0.3, only that this package is now built from sources
found in the PostgreSQL-7.1.1 sources. The PL/Tcl procedural language module
has now been split off into a separate package, pgsql-pltcl.
adds a few minor features and makes a few speedups in the code, plus:
- Fix some DB-API quoting problems (niall.smart@ebeon.com)
- Moved development into PostgreSQL development tree.
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.
This package also has an enhanced rc.d-style startup script that respects
rc.conf settings. If you are running NetBSD>=1.5, then add pgsql=YES to
/etc/rc.conf, and set pgsql_flags to any options you wish to pass to the
postmaster.
PL/Tcl is a dynamic loadable extension for the PostgreSQL database system
that enables the Tcl language to be used to create functions and
trigger-procedures. It offers most of the capabilities a function
writer has in the C language.
PL/Perl allows you to write functions in the Perl programming language
that may be used in SQL queries as if they were built into Postgres.
The PL/Perl intepreter is a full Perl interpreter. However, certain
operations have been disabled in order to maintain the security of the
system.
mytop was inspired by the system monitoring tool top. I routinely use top on
Linux, FreeBSD, and Solaris. You are likely to notice features from each of
them here.
mytop will connect to a MySQL server and periodically run the SHOW PROCESSLIST
and SHOW STATUS commands and attempt to summarize the information from them
in a useful format.
included by both mysql-server/Makefile and mysql-client/Makefile.
* Remove some unnecessary patches from mysql-client.
* Remove build dependency on autoconf as we don't really need to use it.
* Improve detection of native readline library.
* Provide INSTALL/DEINSTALL scripts to perform initial database setup and
to remind the package administrator to remove unnecessary directories upon
package removal.
* Use complete path to chown in various installed scripts. Fixes pkg/12725.
* Install server manpages with the server package. Fixes pkg/12724.
Added selectrow_arrayref, selectrow_hashref, selectall_hashref
Added DBI->connect(..., { dbi_connect_method => 'method' })
Added $h->{ShowErrorStatement}=1 to cause the appending of the
relevant Statement text to the RaiseError/PrintError text.
Trace method uses warn() if it can't open the new file.
Trace shows source line and filename during global destruction.
Documentation:
Documented $DBI::lasth (which has been there since day 1).
Documented SQL_* names.
Clarified and extended docs for $h->state
Clarified fetchall_arrayref({}) docs
Clarified type_info_all re lettercase and index values.
Updated DBI::FAQ to 0.38
Added cute bind_columns example
Extended docs on \%attr arg to data_sources method.
Proxy:
Removed debug messages from DBD::Proxy AUTOLOAD
Added fix for problem using table_info
Added better determination of where to put the pid file
Added KNOWN ISSUES section to DBD::Proxy docs
Known issues:
Perl 5.005 and 5.006 both leak memory doing local($handle->{Foo}).
Perl 5.004 doesn't. The leak is not a DBI or driver bug.
removed all the old unittests from the samples directory
endian detection fixed
'make check' and ctlib unittests
TDS 7.0 fixes, numerics et al
dead connection handling
query timeout stuff
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>
This is a powerful frontend for the MiniSQL or MySQL database
engines, that allows the user to search the database through easy
to use searchforms, select databases and tables from a menu, modify
records just by clicking them in a browser and much more. Xsqlmenu
supports having multiple tablewindows open at the same time (even
from different databases !). Also free SQL SELECT statements are
allowed (although they have a few restrictions to avoid confusion).
-lpthread found in library search path, use explicit path to library.
Noticed by hubertf.
When OPSYS == NetBSD, force use of included mit-pthreads.
Bumb version to "nb1".
Enable use of tcp_wrappers in the server.
BDB and Innobase table types are not configured in, so no transaction
support yet.
The 3.23 release has several major features that are not present
in previous versions. We have added new table types: MyISAM, a new
ISAM library which is tuned for SQL and supports large files; BDB,
which uses the Berkeley DB library from Sleepycat Software to
implement transaction-safe tables; INNOBASE, which uses the Innobase
database backend to implement transaction-safe tables. The 3.23
release also includes support for database replication between a
master and many slaves, full-text indexing, and much more.
For a detailed list of changes see appendix E of the online
documentation at http://www.mysql.com/.
The replication code and BerkeleyDB code is still not as tested
and as the rest of the code, so we will probably need to do a couple
of future releases of 3.23 with small fixes for this part of the
code. As long as you don't use these features, you should be quite
safe with MySQL 3.23!
Note that the above doesn't mean that replication or Berkeley DB
doesn't work; We have done a lot of testing of all code, including
replication and BDB without finding any problems. It only means
that not as many users uses this code as the rest of the code and
because of this we are not yet 100 % confident in this code.
API/ABI changes, (backward compatible) changes to the client-server
protocol and bug fixes.
The 3.23 release has several major features that are not present
in previous versions. We have added new table types: MyISAM, a new
ISAM library which is tuned for SQL and supports large files; BDB,
which uses the Berkeley DB library from Sleepycat Software to
implement transaction-safe tables; INNOBASE, which uses the Innobase
database backend to implement transaction-safe tables. The 3.23
release also includes support for database replication between a
master and many slaves, full-text indexing, and much more.
For a detailed list of changes see appendix E of the online
documentation at http://www.mysql.com/.
The replication code and BerkeleyDB code is still not as tested
and as the rest of the code, so we will probably need to do a couple
of future releases of 3.23 with small fixes for this part of the
code. As long as you don't use these features, you should be quite
safe with MySQL 3.23!
Note that the above doesn't mean that replication or Berkeley DB
doesn't work; We have done a lot of testing of all code, including
replication and BDB without finding any problems. It only means
that not as many users uses this code as the rest of the code and
because of this we are not yet 100 % confident in this code.
* lib/DBD/CSV.pm (fetch_row): Now cleaning $! before
calling $csv->getline(). Seems to return false errors
otherwise in some cases.
* Made Makefile.PL CPAN conformant.
* Removed unnecessary stuff in Makefile.PL which verified
the DBI installation.
* lib/DBD/File.pm (STORE): Changed croak to die.
* Minor fix in the docs
* Minor compatibility fixes in the test suite for Perl 5.6.
PR pkg/11597.
Revision history for Perl extension Pg.
1.9.0 Apr 04 2000
- remove compile errors with perl5.6
- remove old-style interface
- change return value in case of failure from -1 to undef
- for building the module it is required to set the environment
variables POSTGRES_INCLUDE and POSTGRES_LIB
1.8.2 Mar 31 1999
- bug-fix in Makefile.PL for $POSTGRES_HOME not defined
- bug-fix in doQuery() spotted by
Christopher Hutton <crhutton@welcomecard.com>
- minor changes to be compliant with libpq
- use PQsetdbLogin (using the provided userid/password)
instead of PQsetdb
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.
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.
Tue Jun 06 12:00:00 BST 2000 petermount@it.maidstone.gov.uk
- Added org/postgresql/DriverClass.java to the list of files removed
by make clean (it's dynamically built)
- Fixed Statement, so that the update count is valid when an SQL
DELETE operation is done.
- While fixing the update count, made it easier to get the OID of
the last insert as well. Example is in example/basic.java
Tue Jun 06 08:37:00 BST 2000 petermount@it.maidstone.gov.uk
- Removed a hardwired 8K limit on query strings
- Added some missing org.'s in Connection that prevented
the use of the geometric types.
Thu Jun 01 07:26:00 BST 2000 petermount@it.maidstone.gov.uk
- Removed timezone in getTimestamp() methods in ResultSet.
Mon May 15 22:30:00 BST 2000 peter@retep.org.uk
- Fixed the message Makefile produces after compiling. It still said
about the old Driver class, not the new package. Spotted by
Joseph Shraibman <jks@p1.selectacast.net>
- add Win32 port from Bob Kline .
- applied patch from Rudy Lippan
which fixes a memory-leak with failed connections.
- applied patch from Hein Roehrig
which fixes a bug with escaping a backslash except for
octal presentation
- applied patch from Francis J. Lacoste
to enhance the table_attributes subroutine
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)
NOTE: This version is the one the DBI book is based on.
NOTE: This version requires at least Perl 5.004.
Perl 5.6 ithreads changes with thanks to Doug MacEachern.
Changed trace output to use PerlIO thanks to Paul Moore.
Fixed bug in RaiseError/PrintError handling.
(% chars in the error string could cause a core dump.)
Fixed Win32 PerlEx IIS concurrency bugs thanks to Murray Nesbitt.
Major documentation polishing thanks to Linda Mui at O'Reilly.
Password parameter now shown as **** in trace output.
Added two fields to type_info and type_info_all.
Added $dsn to PrintError/RaiseError message from DBI->connect().
Changed prepare_cached() croak to carp if sth still Active.
Added prepare_cached() example to the docs.
Added further DBD::ADO enhancements from Thomas Lowery.
This release fixes a few bugs, adds a few minor features and makes a
few speedups in the code.
Important changes from PyGreSQL 3.0 to PyGreSQL 3.1
- Fix some quoting functions. In particular handle NULLs better.
- Use a method to add primary key information rather than direct
manipulation of the class structures.
- Break decimal out in _quote (in pg.py) and treat it as float.
- Treat timestamp like date for quoting purposes.
- Remove a redundant SELECT from the get method speeding it, and insert
since it calls get, up a little.
- Add test for BOOL type in typecast method to pgdbTypeCache class.
(tv@beamnet.de)
- Fix pgdb.py to send port as integer to lower level function
(dildog@l0pht.com)
- Change pg.py to speed up some operations
- Allow updates on tables with no primary keys.
lang/python upgraded to 2.0
lang/py-html-docs upgraded to 2.0
misc/py-readline upgraded to 2.0
databases/py-gdbm upgraded to 2.0
x11/py-Tk upgraded to 2.0
devel/py-curses upgraded to 2.0
lang/py-extclass upgraded to 2.2.2 and for Python 2.0
textproc/py-dtml upgraded to 2.2.2 and for Python 2.0
www/py-zpublisher upgraded to 2.2.2 and for Python 2.0
print/py-reportlab upgraded to 1.01 and for Python 2.0
More coming...
* Quick release to fix memory problem with 5.6.0
* Change ->get back to return what 0.19 returned
* Deprecate ->get in favor of ->get_value
* Net::LDAP::Schema now supports matchingRules
* Added experimental onerror option to ->new
* New FAQ by Clif Harden
* Added INSTALL and CREDITS files
* Net::LDAP::Entry ->get and ->attributes methods now support options
* Added Net::LDAP::DSML from Mark Wilcox
* Added Net::LDAPS from Chris Ridd
* Many documentation updates
* Several fixes to ::Control::* classes, they should now work as intended.
* Net::LDAP::Entry->get now always returns a scalar result as documented.
* bin/ldapsearch now requires URI-1.08
that depend it, as suggested by wrstuden. The reason is so that older
binary packages which were linked against an a.out shared lib won't have
their package dependencies satisfied by the latest package, which has no
shared libraries. There's no help for old ELF packages, unfortunately.
were:
0.7 - Tcl_Obj's support (first trial); now NUL-Bytes are allowed; strings
need not be terminated in the database (the 0.6-version would store
the terminating NUL's in keys as well as in data and RELIED on it!).
Now DB'S generated by other Programs (cross-checked with php3!) can
be read! (JG)
0.8 - Move to libtool/automake/autoconf and generate rpms for RedHat 6.2 (JE)
Tested with tcl8.3
Apache perl modules, and each compiled and installed/de-installed apparently
correctly.
As a side effect of the dynamic PLIST, we no longer need to to have separate
-static and -shared PLISTs. It's now easier than ever to make a perl5
package for NetBSD :)
ones to do, and each compiled and installed/de-installed apparently
correctly.
As a side effect of the dynamic PLIST, we no longer need to have separate
-static and -shared PLISTs. It's now easier than ever to make a perl5
package for NetBSD :)