lp:ubuntu/intrepid-backports/postgresql-common

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/intrepid-backports/postgresql-common
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Mature

Recent revisions

18. By Ubuntu Archive Auto-Sync

Automated backport upload; no source changes.

17. By Martin Pitt

* Update Swedish debconf translations, thanks Martin Bagge!
  (Closes: #490677)
* Add Turkish debconf translations, thanks Mert Dirik!
  (Closes: #491007)
* Update Vietnamese debconf translations, thanks Clytie Siddall!
  (Closes: #491048)
* Update Russian debconf translations, thanks Sergey Alyoshin!
  (Closes: #491420)
* PgCommon.pm, change_ugid(): Use /usr/bin/id instead of manual parsing with
  getgrent(), which is reportedly magnitudes faster for environments with
  a large number of groups in remote databases. Thanks to Rodrigo Gallardo!
  (Closes: #491136)
* debian/postgresql-common.postinst: Update root.crt header comment for
  PostgreSQL 8.3. (Closes: #491276)
* pg_ctlcluster: Fix typo in pg_ctl error messages. Thanks to Aaron Schrab!
  (Closes: #488280)
* pg_createcluster, pg_ctlcluster: Set the log file group to "adm" if
  the cluster is owned by a system user (like "postgres"). In the "owned by
  human user" case, keep it as that user's primary group. Check both cases in
  the test suite. (Closes: #483017)
* t/TestLib.pm: Return "1" at the end, to avoid "TestLib.pm did not return a
  true value" error on import.
* PgCommon.pm, read_conf_file(): Fix parsing of escaped quotes in string
  values. Add tests to t/005_PgCommon.t. (Closes: #481055)

16. By Martin Pitt

* Update Italian debconf translations, thanks Luca Monducci!
  (Closes: #479360)
* Update Galician debconf translations, thanks Jacobo Tarrio!
  (Closes: #480971)
* Update Euskara debconf translations, thanks Piarres Beobide!
  (Closes: #483239)
* t/051_inconsistent_encoding_upgrade.t: Don't error out if there is just
  one major version installed.
* Update Portugese debconf translations, thanks Luis Matos
  (Closes: #488570) and Ricardo Silva! (Closes: #489820)

15. By Martin Pitt

* t/030_errors.t: Add various test cases for stopping stopped clusters with
  stale or corrupt PID files, with and without --force. This reproduces
  #473879.
* pg_ctlcluster: On stop, clean up stale/corrupt PID files if the server is
  not running. Also fix a taint error and simplify the code a bit.
  (Closes: #473879)
* t/030_errors.t: Test graceful handling of absent /var/lib/postgresql.
  (Reproduces LP #210322). Adapt 020_create_sql_remove.t accordingly.
* pg_ctlcluster: Check early whether the data directory exists and is
  accessible, to avoid lots of Perl warning clutter. (LP: #210322)
* pg_createcluster POD: Clarify what "integrating existing cluster data
  directory" means: configuration files must already be present, we cannot
  create them out of thin air. (Closes: #475954)
* pg_maintenance: Sort versions for predictable output (looks nicer and
  unbreaks the test suite).

14. By Martin Pitt

* 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

13. By Martin Pitt

* 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)

12. By Martin Pitt

* 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!

11. By Martin Pitt

* 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.

10. By Martin Pitt

* 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.

9. By Martin Pitt

* 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)

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/lucid/postgresql-common
This branch contains Public information 
Everyone can see this information.

Subscribers