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.