Changelog
postgresql-common (43.1) dapper; urgency=low
* Upload to Dapper to get a plethora of bug fixes; no new major features,
just some small improvements.
postgresql-common (43) unstable; urgency=low
* debian/postgresql-common.cron.d: Update documentation for 8.1 and correct
paths in it. Closes: #351891
* pg_createcluster: Fix typos in POD. Closes: #351835
* debian/postgresql-common.dirs: Add /var/lib/postgresql to ensure that the
postgres user always has an existant home directory. Closes: #351985
* debian/supported-versions, lsb_debian(): Add 'testing'. Closes: #353754
* PgCommon.pm, change_ugid():
- Suppress warning on nonexistant user names.
- Do not split group list at comma; getgrent already converts commas in
/etc/groups to spaces, and splitting on commas breaks pam-ldap
environments. Thanks to Chmouel Boudjnah.
- Closes: #353674
* pg_wrapper: Set PGSYSCONFDIR to /etc/postgresql-common if it is unset, to
provide a sane default for the location of pg_service.conf.
Closes: #353832
* pg_dropcluster: Remove /etc/postgresql/<version> and
/var/lib/postgresql/<version> if empty.
* t/TestLib.pm: Added check_clean() method to test for empty PostgreSQL
related directories and processes, and use it in all tests.
* pg_dropcluster: Remove default log file. This avoids leaving it behind if
the log file directory was changed in postgresql.conf.
postgresql-common (42) unstable; urgency=low
* PgCommon.pm, change_ugid(): Implement initgroups() like behaviour to allow
running the postmaster in auxiliary groups. This is necessary for e. g.
reading shared SSL certificates.
* t/TestLib.pm, exec_as(): Also change group id, in order to be able to read
SSL certificates which are only group readable (which previously caused
the test suite to fail).
* debian/supported-versions: Add lsb_release output case 'unstable' to cope
with recent lsb-release change. Closes: #351475
postgresql-common (41) unstable; urgency=low
* pg_createcluster: Make the definition of 'cluster already exists' less
strict: check for files that indicate a cluster configuration instead of
requiring the directory to be completely empty.
* debian/maintscripts-functions, configure_version(): Improve check for
already existing clusters to not catch subdirectories with non-cluster
files (e. g. a single *.old and similar).
* pg_ctlcluster: Add option -o to pass parameters to the postmaster process.
* debian/postgresql-common.postinst: Avoid error message from ls if
/usr/lib/postgresql does not exist.
* PgCommon.pm, cluster_info(): Respect log_{directory,filename} settings;
only use Debian's log directory if neither is set. Thanks to Scott Chapman
for discovering this issue.
* pg_ctlcluster: Create the log file if it does not yet exist; this ensures
that we always know the file postmaster really uses and avoids the race
condition with nonexisting files if log_filename contains time macros.
* pg_createcluster: Explain possibility of overriding the log symlink with
log_* in postgresql.conf.
* architecture.html: Fix some typos, remove obsolete pg_upgradecluster
procedure.
postgresql-common (40) unstable; urgency=low
* debian/supported-versions: Add 8.1 to Ubuntu 5.10 to properly support
backport.
* PgCommon.pm: If /etc/postgresql-common/user_clusters does not exist, use
the default cluster instead of returning an invalid value. Also, do not
complain if the file does not exist (which is legitime). Closes: #348447
* debian/README.Debian: Fix 'detailled' typo. Closes: #346442
* Replace most calls to get_conf_value() with the much more efficient new
function read_cluster_conf_file().
* pg_upgradecluster: Factorized and cleaned up parameter deprecation/upgrade
code.
* Support auxiliary environment variables for postmaster:
- pg_createcluster: Create /etc/postgresql/version/cluster/environment
file (empty, just a comment).
- pg_dropcluster: Remove environment file.
- pg_ctlcluster: Clear environment and only set variables mentioned in
environment file and LANG/LC_ALL.
- Closes: #345516
* t/020_create_sql_remove.t: Check save environment and correct function of
the environment file.
* PgCommon.pm, next_free_port(): Check if the port is already in use, skip
it if so. Closes: #348875.
* t/090_multicluster.t: Create a socket bound to port 5434 and check that it
is not used by pg_createcluster.
-- Martin Pitt <email address hidden> Tue, 21 Feb 2006 22:00:43 +0100