lp:ubuntu/lucid-proposed/postgresql-common

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/lucid-proposed/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

19. By Martin Pitt

pg_ctlcluster: Drop erroneous $result assignment which was introduced in
the previous version due to a mis-merge.

18. By Martin Pitt

pg_ctlcluster: Do not remove the PID file after SIGKILLing the
postmaster in the "last-ditch effort to shut down" in --force mode. This
is a potentially dangerous thing to do when trying to start a second
postmaster in parallel while the first one is still being shut down.
(see http://archives.postgresql.org/pgsql-general/2012-07/msg00475.php)
Patch taken from trunk r1181. (LP: #1042556)

17. By Martin Pitt

* t/030_errors.t: Check that pg_createcluster leaves the original one
  intact if the cluster already exists, also when the original one is not
  running. This reproduces LP #661061/Debian #597097.
* pg_createcluster: Be more careful with cleaning up the created cluster if
  an error occurs: Do not start the cleanup until we actually passed our
  sanity checks and created files for the new cluster. Before, it would
  erroneously remove an already existing cluster on a sanity check fail, if
  that cluster happened to not be running at the time. (LP: #661061)
  Patches cherrypicked from trunk r1024.
* debian/control: Set Vcs-Bzr to lucid branch.

16. By Martin Pitt

* t/001_packages.t: Check for ".utf8" locale instead of ".UTF-8". This
  seems to be the new canonical spelling now.
* t/TestLib.pm, check_clean(): Require that /var/log/postgresql/ still
  exists. If we remove it entirely, current versions of logcheck complain
  loudly. This was already fixed a while ago in squeeze, this will ensure it
  stays so. (Closes: #576180)
* t/040_upgrade.t: Check upgrade of database and table ACL, an ALTER
  DATABASE option, and correct upgrading of a custom pg_hba.conf. This
  reproduces #543506.
* pg_upgradecluster: Rework logic to use "pg_dumpall -s" instead of
  "pg_dumpall -g", to also catch ACLs, global settings, and the like. Drop
  manual database creation and encoding special-cases, since those are being
  taken care of by the -s commands already. (Closes: #543506, #562676)
* pg_upgradecluster: Re-enable connections after the upgrade is done, not in
  between.
* t/120_pg_upgradecluster_scripts.t: Upgrade scripts should not create
  tables in the "init" phase, since they will be overwritten during
  dump/restore. Change the test case to move table changes into the "finish"
  phase, and update documentation in pg_upgradecluster to point out this
  potential problem.
* debian/init.d-functions, status(): More appropriate output formatting for
  "status" init script commands. (Closes: #522679)

15. By Martin Pitt

debian/postgresql-common.postinst: Fix upgrade failure if no tsearch
dictionaries exist. (Closes: #565966)

14. By Martin Pitt

* pg_updatedicts: Process dictionaries from /usr/share/hunspell, too.
* debian/control: Add Vcs-* fields.
* Add standard license headers to all programs, and update copyright.
* debian/copyright: Update to DEP-5 (Machine-readable debian/copyright), and
  drop Oliver's copyright, since there is nothing left that was written by
  him.
* pg_updatedicts: Do not create system_<locale>.{affix,dict} symlinks any
  more, but use the actual names that upstream PostgreSQL looks for (without
  system_ prefix). This allows us to drop the system_ lookup patch from
  PostgreSQL. Update t/150_tsearch_stemming.t accordingly and remove the old
  system_* symlinks on upgrade in debian/postgresql-common.postinst.

13. By Martin Pitt

* Move the lsb-release dependency of p-common to a recommends of
  p-client-common. (Closes: #562642)
* Drop Oliver from Uploaders:, he has not been active any more for years.
* t/005_PgCommon.t: Add '.' to library search path, so that this prefers
  testing PgCommon.pm from the source tree.
* t/005_PgCommon.t: Add test cases for {set,disable,replace}_conf_value().
* PgCommon.pm, replace_conf_value(): Do not append the new parameter if the
  old is not found.
* PgCommon.pm, {set,disable,replace}_conf_value(): Intercept errors on
  writing data (which could happen when running out of disk space). Write
  into a new file and rename it in the end, instead of directly writing into
  the original file. Thanks to Yann Dirson for the original patch.
  (Closes: #549206)
* pg_createcluster: Change effective gid as well when setting the socket
  directory, to avoid moving postgresql.conf's group to root (which would
  happen with the previous change).
* Add t/042_upgrade_tablespaces.t: Test upgrading a cluster with
  tablespaces. Since this is not currently supported (and hard to do in an
  automated fashion due to the nature of tablespaces), just check that this
  errors out with a sane message and does not do any damage.
* pg_upgradecluster: Add an early check for tablespaces. (Closes: #523574)
* pg_lsclusters: Fix undefined value if owneruid cannot be determined (which
  can happen in special setups). Thanks to Daniel Pittman! (Closes: #541434)
* t/020_create_sql_remove.t: Verify permissions of the data and
  configuration directories.
* pg_createcluster: Make /etc/postgresql/<version> and
  /var/lib/postgresql/<version> owned by 'postgres', so that they can be
  administrated with 'postgres' privileges. Update t/030_errors.t
  accordingly. (LP: #236704, Closes: #525294)
* t/020_create_sql_remove.t: Check that a missing log file is recreated by
  pg_ctlcluster (if it has enough permissions).
* pg_ctlcluster: Make re-creation of log file actually work. (LP: #391119,
  #372476)

12. By Martin Pitt

* debian/postgresql-common.postinst: Create /var/log/postgresql/ if it does
  not exist, before trying to chown/chmod it.
* t/001_packages.t: Check that -server-dev-* is installed (for
  t/140_pg_config.t)
* t/001_packages.t: Check that the system default locale is an UTF-8 one.
* debian/supported-versions: Add Ubuntu 10.04.
* t/050_encodings.t: Disable Russian error message encoding test for now,
  since Russian translations were dropped upstream (too incomplete).

11. By Martin Pitt

* debian/supported-versions: Only support 8.4 in Ubuntu 9.10. (LP: #403381)
* PgCommon.pm, change_ugid(): Fix taint error. (LP: #403693)
* Update Swedish debconf translations, thanks Martin Bagge!
  (Closes: #539216)
* t/090_multicluster.t: Run psql error tests under LC_MESSAGES=C to not fail
  under non-English locales.
* pg_upgradecluster: Do not try to migrate "stats_*" settings to
  "track_counts" again if track_counts is already set. This led to disabling
  autovacuum on a 8.3 → 8.4 migration. (Closes: #540351)
* pg_upgradecluster: Fix owner of pg_hba.conf after upgrade, to also work in
  tight umask settings.
* debian/control: Bump Standards-Version to 3.8.3; no changes necessary.
* debian/control: Re-promote ssl-cert to Depends:. Dropping to recommends
  does not buy anything and causes regressions. (Closes: #540982)

10. By Martin Pitt

debian/supported-versions: Only support 8.4 in Ubuntu 9.10. (LP: #403381)

Branch metadata

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

Subscribers