Accepted postgresql-common 87~bpo40+1 (source all)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Mon, 31 Mar 2008 15:20:37 +0200
Source: postgresql-common
Binary: postgresql-client-common postgresql-common
Architecture: source all
Version: 87~bpo40+1
Distribution: etch-backports
Urgency: medium
Maintainer: Martin Pitt <mpitt@debian.org>
Changed-By: Gerfried Fuchs <rhonda@debian.at>
Description:
postgresql-client-common - manager for multiple PostgreSQL client versions
postgresql-common - PostgreSQL database-cluster manager
Closes: 410852 414067 415444 416146 416228 420565 420915 422129 425594 427894 428698 431643 438698 440596 444689 446457 446635 446978 447009 447045 447052 447054 447131 447417 447436 447642 447881 448768 449532 450565 450902 460576 463070 464064 464769 466258 467660 468548 472930 473405
Changes:
postgresql-common (87~bpo40+1) etch-backports; urgency=medium
.
* Rebuild for etch-backports.
.
postgresql-common (87) unstable; urgency=medium
.
* Urgency medium since #472930 is an important bug fix.
* debian/init.d-functions: If there are no clusters, exit with 4 (LSB-code
for "unknown status") instead of 0 (which means "service is running", but
it is debatable and confusing whether all clusters are running if there
are none at all). (LP: #203966)
* Update Spanish debconf translations, thanks Javier Fernández-Sanguino
Peña. (Closes: #473405)
* t/060_obsolete_confparams.t: Run upgrades under
default_transaction_read_only=on. t/040_upgrade.t still uses the default
"off", so both cases get tested. This replicates the problem report from
Karsten Hilbert.
* pg_upgradecluster: Work with default_transaction_read_only=on.
* debian/autovacuum.conf, architecture.html: Point out that this file is
only relevant for PostgreSQL versions earlier than 8.1. Thanks to Ross
Boylan for pointing this out.
* Add t/051_inconsistent_encoding_upgrade.t: Check that upgrades from
pre-8.3 to 8.3 succeed and have correct encodings if the old DB had a
database whose encoding did not match the server locale. This reproduces
#472930.
* pg_upgradecluster: Fix handling of database encodings on upgrade, since
8.3 now forces DB encodings and server locale to match:
- With C locale, keep encoding of DBs on upgrade, just as in previous
versions. (C is compatible with all encodings, and causes lots of string
functions not to work correctly, but people still use it deliberately.)
- With other locales, create the target DB manually with a compatible
encoding, and call pg_restore in a way to not create the target DB and
automatically convert encoding.
- Closes: #472930, LP: #207779
.
postgresql-common (86) unstable; urgency=low
.
* Update Japanese debconf translations, thanks Hideki Yamane!
(Closes: #464769)
* Update French debconf translations, thanks Guilhelm Panaget!
(Closes: #467660)
* Update Finish debconf translations, thanks Esko Arajärvi!
(Closes: #468548)
* pg_upgradecluster: Document 'datadir' argument. (Closes: #466258)
.
postgresql-common (85) unstable; urgency=low
.
* debian/README.Debian: Fix fatal typo that suggested dropping the wrong
cluster on upgrade. (Closes: #464064)
* pg_upgradecluster: Fix some typos in the POD, thanks to Brendan Jurd!
.
postgresql-common (84) unstable; urgency=low
.
* Add t/140_pg_config.t: Check correct output of pg_config, to avoid bugs
like #455509 and #462037 in the future.
* t/040_upgrade.t: Create and cd into an inaccessible test directory.
* pg_upgradecluster: Chdir to / before the upgrade to avoid confusing error
messages about inaccessible cwd.
* debian/README.Debian: Update for 8.3 being the default version. Drop
description of 7.4 autovacuum daemon magic, since it is obsolete now.
* debian/postgresql-common.templates: Point to README.Debian.
* debian/postgresql-common.cron.d: Update for 8.3, and add warnings and doc
pointer about enabling regular VACUUM FULL. (LP: #186831)
* PgCommon.pm, get_cluster_locales(): Print proper error message when server
package is removed, but not purged, and a cluster still exists.
(Closes: #463070)
* t/030_errors.t, t/130_nonroot_admin.t: Check pg_dropcluster/
pg_createcluster error message when being called with insufficient
privileges.
* pg_createcluster, pg_dropcluster: Point out that program needs to be run
as root when creating/removing config or data directory fails.
(Closes: #460576)
* t/090_multicluster.t: Remove test case for nonexisting PGSERVICE value,
since this is not reliably reported in psql.
* t/140_pg_config.t: Skip pg_config test for 8.1. It's known broken in Etch
(pg_config was only shipped in libpq-def) and irrelevant in Lenny.
.
postgresql-common (83) unstable; urgency=low
.
* Drop the "If you have openssl installed..." from the package description,
since ssl-cert depends on it.
* t/050_encodings.t: Add alternative unicode representation 0xc827 for the
CVE-2006-2313 test, so that the testsuite runs cleanly in Ubuntu 6.06.
* debian/supported-versions: Drop 8.1 from fallback set of supported
versions.
* debian/postgresql-common.config: Add check for forcing the obsoletion
notifications when upgrading over a particular version. This provides the
notification when upgrading from Etch to Lenny, and when obsoleting a
major version within unstable.
* debian/supported-versions: Drop support for 8.2 in unstable, 8.3 is the
version du jour.
* debian/supported-versions: Drop Ubuntu 5.10, fix a typo in the versions
for Ubuntu 6.06.
* t/090_multicluster.t: Test correct behaviour of pg_service.conf. (See
#439026)
* debian/supported-versions: Only support 8.3 in Ubuntu 8.04.
.
postgresql-common (82) unstable; urgency=low
.
* debian/control: Fix 'commmon' typo. (Closes: #449532)
* t/030_errors.t: Check that an /etc/postgresql/postgresql.conf leftover is
not regarded as a cluster directory. This reproduces #450565.
* PgCommon.pm, get_versions()/get_version_clusters(): Filter out '.' and
'..' from readdir() output. (Closes: #450565)
* pg_ctlcluster: Use "smart" mode shutdown by default, and add option
-f/--force to use "fast" -> "immediate" -> kill -9 approach. (LP: #154012)
* debian/init.d-functions: Use --force when stopping all clusters, since
default smart mode can potentially block forever and thus fail to shut
down a machine.
* debian/README.Devel: Update for current bzr versions and hosting on
code.launchpad.net.
* Update Japanese debconf translations (Closes: #450902)
.
postgresql-common (81) unstable; urgency=low
.
* debian/supported_versions: Welcome, Ubuntu Hardy (8.04)!
* debian/postgresql-common.templates, debian/control: Language and grammar
improvements, thanks a lot to Christian Perrier and the l10n teams!
(Closes: #446457)
* Update debconf translations, thanks to all translators!
- French (Christian Perrier) (Closes: #446978)
- Vietnamese (Clytie Siddall) (Closes: #447009)
- Finnish (Esko Arajärvi) (Closes: #447045)
- Italian (Luca Monducci) (Closes: #447052)
- Galician (Jacobo Tarrio) (Closes: #447054)
- Basque (Piarres Beobide) (Closes: #447131)
- Spanish (Javier Fernández-Sanguino Peña) (Closes: #447417)
- Czech (Miroslav Kure) (Closes: 447436)
- Portugese (Miguel Figueiredo) (Closes: #447642)
- Brazilian Portugese (Eder L. Marques) (Closes: #447881)
- Russian (Sergey Alyoshin) (Closes: #448768)
- German (Martin Pitt)
.
postgresql-common (80) unstable; urgency=low
.
* pg_upgradecluster: Fix locale error checking.
* pg_upgradecluster: Use cluster_exists() instead of
cluster_data_directory().
* PgCommon.pm: Fix cluster_data_directory() to consider the data_directory
setting in postgresql.conf, which should trump the /pgdata symbolic link.
* debian/init.d-functions: Check for 'postgresql.conf' instead of 'pgdata'
in the test for a valid cluster configuration directory, since 'pgdata' is
optional now.
* pg_createcluster: Do not create pgdata symlinks to the data directory in
/etc any more when configuring a >= 8.0 cluster. Use the data_directory
configuration option instead. (Part of #444689)
* t/020_create_sql_remove.t: Check that clusters still work when replacing
the data_directory setting with a pgdata symbolic link, and that
the data_directory setting trumps the symlink.
* pg_upgradecluster: Set correct data_directory config option after copying
over the old configuration files.
* t/060_obsolete_confparams.t: Restore data_directory setting after
scribbling over the configuration file with our template.
* PgCommon.pm, cluster_info(): Only return a value for 'logfile' when it is
not explicitly configured with log_directory and/or log_filename. The
previous guessing was wrong anyway, since PostgreSQL always appends a
pretty unpredictable timestamp.
* pg_ctlcluster: Only do log file checks and pass pg_ctl -l option when the
log file default is used. Otherwise let PostgreSQL do its logfile handling
and waive log file checks, since we don't know which file is used.
* pg_ctlcluster: Redirect pg_ctl's stdout and stderr to /dev/null, otherwise
it will hang forever when using a custom log file (and thus not passing
-l).
* pg_lsclusters: Print "custom" as log file location if a custom one was set
in postgresql.conf.
* pg_upgradecluster: Enable 'redirect_stderr' in the 7.4 -> 8.x migration of
'syslog' -> 'log_destination', so that the log output is actually
complete.
* t/060_obsolete_confparams.t: Enable 'redirect_stderr' in the template
postgresql.conf's, so that we actually capture log output.
* t/020_create_sql_remove.t: Check proper handling of logs when configuring
log file in postgresql.conf, using the log symlink, or having neither.
* PgCommon.pm, cluster_info(): Return default log file in 'logfile' if
neither postgresql.conf nor a 'log' symlink explicitly specify a log file.
* pg_createcluster: Do not create log symlink if using the default log file
(i. e. when not using -l). (Closes: #444689)
* t/020_create_sql_remove.t: Verify that log symlink is not created by
default.
* architecture.html: Update to current reality.
* debian/postgresql-common.config: Do not consider versions as obsolete if
they are newer than the latest officially supported version. This avoids
confusion when testing new betas in experimental or using backports.
(Closes: #446635)
* t/TestLib.pm: Make exec_as() work with user name 'root' (not just uid 0).
* Add t/130_nonroot_admin.t: Check that administrative pg_ tools work as
non-root, too, if the invoker has sufficient permissions on the
directories (test case for LP #90036).
* pg_{create,drop,upgrade}cluster: Small tweaks to make the scripts work for
non-root users with sufficient write permissions to
/etc/postgresql/<version>, /var/lib/postgresql/<version>, and
/var/log/postgresql. (LP: #90036)
.
postgresql-common (79) unstable; urgency=low
.
* debian/supported-versions: Welcome, version 8.3!
* pg_createcluster: Add configure_8_3().
* PgCommon.pm, cluster_info(): 8.3 defaults to 'autovacuum = On' when not
given, reflect that in the avac_enable return value.
* t/050_encodings.t: 8.3 onwards refuses to create a cluster with an
inconsistent locale/encoding combination. Just drop the test case, it does
not make too much sense anyway.
* t/090_multicluster.t: Do not rely on output of createdb, call it with -q.
8.3 behaves differently here.
* t/060_obsolete_confparams.t: Add full set of 8.2 postgresql.conf options
for testing upgrades to 8.3.
* pg_upgradecluster: When upgrading to 8.3, transition changed configuration
options:
- bgwriter_lru_percent, bgwriter_all_percent, bgwriter_all_maxpages,
stats_start_collector, and stats_reset_on_server_start: deprecated.
- redirect_stderr -> logging_collector
- stats_command_string -> track_activities
- stats_block_level || stats_row_level -> track_counts
- Explicitly enable archive_mode when archive_command is set.
.
postgresql-common (78) unstable; urgency=low
.
* debian/postgresql-common.postinst: Only clean up
/usr/lib/postgresql/dumpall/ on upgrades if it is actually a directory.
(Closes: #440596)
.
postgresql-common (77) unstable; urgency=low
.
* debian/control: Fix obsolete ${Source-Version}.
* t/020_create_sql_remove.t: Create fake rotated log files to check that
they are cleaned up properly.
* pg_dropcluster: Remove rotated logs, too. (part of #431643)
* debian/postgresql-common.postinst: Clean up /usr/lib/postgresql/dumpall/
junk from the Sarge->Etch postgresql transition. This needs to be kept
until after Lenny's release. (part of #431643)
* Add debian/postgresql-client-common.postrm: Clean up
/var/lib/postgresql/.psql_history on purge. Closes: #431643
* debian/postgresql-common.postinst: Create /var/lib/postgresql/ if it does
not exist. This should not usually happen, but apparently did anyway.
(Closes: #438698)
.
postgresql-common (76) unstable; urgency=medium
.
* Priority medium since this unbreaks client programs like psql in testing.
* pg_wrapper: Revert changes of version 74 to make this work with taint
mode. It breaks too many custom setups, and Perl just doesn't allow to
untaint $PATH bluntly. If you run pg_wrapper from a perl script with taint
checks enabled, you have to clean $PATH yourself. Closes: #427894
* t/020_create_sql_remove.t: Check that PL/TCL and PL/TCLu work, so that we
now have complete test coverage of all four PLs that are shipped with the
core package.
* t/001_packages.t: Check that postgresql-pltcl-<version> is installed.
* PgCommon.pm, get_cluster_socketdir(): Improve error message if data
directory parent is not readable. Closes: #428698
.
postgresql-common (75) unstable; urgency=low
.
The "Never run the test suite without 7.4 just because it is deprecated and
about to be removed" release. Sorry for the trouble.
.
* pg_ctlcluster: Partially revert PATH cleansing to make pg_ctl work on 7.4
again. This can be dropped again once 7.4 is actually removed from the
archive. Closes: #425594
.
postgresql-common (74) unstable; urgency=low
.
* debian/supported_versions:
- Match any 4.0* as Debian Etch to get the correct set of supported
versions. Closes: #420915
- Add Lenny/unstable: only support 8.2.
- Add Ubuntu 7.10.
- Don't fail if the distribution cannot be determined at all, only print
out a warning.
* pg_createcluster, pg_ctlcluster, pg_dropcluster, pg_maintenance,
pg_upgradecluster: Strip down PATH untainting to the absolute minimum, to
not fall over if e. g. /usr/local/bin is misconfigured to be world
writable. Closes: #420565
* pg_wrapper: Make this script work with taint checks enabled. This happens
in a pretty blunt way, since it does not actually make sense to enforce
environment variables, etc. It should just not fail when being called from
a -T perl script. Closes: #422129
* debian/postgresql-common.postinst: Do not hide failures of the init
script on restart.
* debian/postgresql-common.config, debian/postgresql-common.templates:
Remove the check for an untransitioned postgresql, since it was only
necessary for the Sarge->Etch upgrade. Update debian/po/*.po.
* Remove debian/postgresql-common.preinst, we only needed it for the
"untransitioned" test.
* debian/control: Move cdbs and debhelper from B-D-I to B-D, since we need
them for 'clean'.
* Add debian/postgresql-client-common.lintian: Lintian overrides for 'binary
without manpage'. The stuff in /usr/bin is just a symlink to pg_wrapper,
postgresql-client-* ships the actual manpages for those.
.
postgresql-common (73) unstable; urgency=low
.
* debian/postgresql-common.dirs: Ship /var/lib/postgresql again, creating it
dynamically causes various upgrade failures. Closes: #416146, #416228
* debian/postgresql-common.postinst: Call adduser with --no-create-home.
This avoids the 'wrong owner' warning as well.
.
postgresql-common (72) unstable; urgency=low
.
* debian/postgresql-common.postinst: Set default /var/log/postgresql
permissions to root:postgres 1775. Closes: #410852
* Update Russian debconf translations. Thanks to Yuriy Talakan'!
Closes: #414067
* postgresql-common/debian/postgresql-common.dirs: Remove
/var/lib/postgresql, so that adduser does not complain about a preexisting
directory with the wrong owner any more. This also avoids removing the
home directory of postgres when removing the package. Closes: #415444
Files:
e22c67236f2c74eb3ba0b9a3c22dbe2a 650 misc optional postgresql-common_87~bpo40+1.dsc
149307f69efc10f62e2518de07330eca 106619 misc optional postgresql-common_87~bpo40+1.tar.gz
2b7d20b9520599f33f596a49f32c4c6a 107010 misc optional postgresql-common_87~bpo40+1_all.deb
8fbd5c82e66e73a3aabbdc2b18eb7572 44872 misc optional postgresql-client-common_87~bpo40+1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH+dRdELuA/Ba9d8YRAkksAJ9qHHZJQkvEAMi3vfIXOkNXjxqDqwCfeEhi
GkFO7TKluwRVo43dwBKf6EY=
=3Vrf
-----END PGP SIGNATURE-----
Accepted:
postgresql-client-common_87~bpo40+1_all.deb
to pool/main/p/postgresql-common/postgresql-client-common_87~bpo40+1_all.deb
postgresql-common_87~bpo40+1.dsc
to pool/main/p/postgresql-common/postgresql-common_87~bpo40+1.dsc
postgresql-common_87~bpo40+1.tar.gz
to pool/main/p/postgresql-common/postgresql-common_87~bpo40+1.tar.gz
postgresql-common_87~bpo40+1_all.deb
to pool/main/p/postgresql-common/postgresql-common_87~bpo40+1_all.deb
Reply to: