lp:ubuntu/oneiric/postgresql-common

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

Recent revisions

33. By Martin Pitt

* debian/control: Fix duplicate package description. (Closes: #639562)
* debian/control: Add lsb-release dependency to -server-dev-all, as the
  pg_buildext tool needs it.
* pg_wrapper: Find libreadline in multiarch directory, too.
  (Closes: #640520)
* debian/rules: logrotate 3.8.0 requires specifying the "su" option, which
  is not backportable. Dynamically check the available logrotate version,
  and add it if it is >= 3.8. Also dynamically generate a dependency or
  breaks to logrorate 3.8+. (Closes: #640493)
* PgCommon.pm: Allow '@' characters in LC_CTYPE/LC_COLLATE values. Thanks to
  Willi Mann for the patch. (Closes: #640031)
* pg_upgradecluster: Print message for running the upgrade.d scripts, thanks
  Karsten Hilbert.
* t/040_upgrade.t: Add test case for a database with read only default
  transactions. Reproduces #599085.
* pg_upgradecluster: Set superuser configuration value of
  'default_transaction_read_only' to 'off' during the upgrade, so that
  upgrading databases with read only default transactions actually works.
  Thanks Karsten Hilbert for the suggestion. (Closes: #599085)
* t/040_upgrade.t, pg_upgradecluster: Consistently use upper case for SQL
  keywords.
* Correct wrong bug reference in previous changelog.

32. By Martin Pitt

Upload current Debian packaging bzr, to fix postgresql-pljava FTBFS.

* debian/control: Fix duplicate package description. (Closes: #639562)
* debian/control: Add lsb-release dependency to -server-dev-all, as the
  pg_buildext tool needs it.

31. By Martin Pitt

[ Martin Pitt ]
* debian/supported-versions: Switch Ubuntu 11.10 to 9.1 (LP: #833684) and
  also preemtively add Ubuntu 12.04 (which will ship with 9.1, too).
* debian/control: Bump Standards-Version to 3.9.2, no changes necessary.
* debian/rules: Call dh_installinit with -r to avoid restarting on upgrade.
  (Closes: #639140)
* debian/control: Wrap dependencies.
* debian/control, debian/rules: Convert from cdbs to dh, and bump
  Standards-Version to 7.
* debian/control, debian/rules: Build the versionless metapackages from this
  source instead of the current postgresql-X.Y source. This behaves better
  with backports. Thanks to Christoph Berg for the suggestion.
* debian/postgresql-common.lintian-overrides: Don't complain about missing
  manpage for pg_config, it's shipped by libpq-dev.
* debian/control: Update description of the metapackages to actually say
  "metapackage" to quiesce lintian.
* Split POD of pg_buildext into pg_buildext.pod, and update debian/rules to
  build the manpage from there. Fixes lintian "shell syntax failure"
  error.

[ Peter Eisentraut ]
* pg_createcluster:
  - Use "peer" instead of "ident" on local socket connections from 9.1 on.
  - Apply pg_hba.conf adjustments to replication connections as well.
  - (Closes: #632702)

30. By Martin Pitt

Upload current Debian bzr head to oneiric.

debian/supported-versions: Switch Ubuntu 11.10 to 9.1 (LP: #833684) and
also preemtively add Ubuntu 12.04 (which will ship with 9.1, too).

29. By Martin Pitt

[ Martin Pitt ]
* PgCommon.pm, set_conf_value(): Fix the case where a key exists first as a
  commented value, and then uncommented. Add appropriate test cases to
  t/005_PgCommon.t. (Closes: #539651)
* debian/postgresql-common.postgresql.init: Fix "status" command when some
  clusters are down. (Closes: #635594)
* pg_upgradecluster: Only call pg_ctl with the -t option with old clusters
  >= 8.4, as earlier versions do not yet support it. (Closes: #633801)
* debian/postgresql-common.postinst: Remove some obsolete transition
  logic.
* architecture.html, cleanpg, debian/init.d-functions, pg_createcluster:
  Remove obsolete references to per-version init scripts. (Closes: #636957)
* debian/maintscripts-functions: Remove our tsearch data symlinks on
  removal. (Closes: #539611)
* PgCommon.pm: Make {read,set,disable,replace}_conf_value() case
  independent for *.conf files, as per upstream specification. Add
  appropriate test cases to t/005_PgCommon.t. (Closes: #618577)
* PgCommon.pm: Make {read,set,disable,replace}_conf_value() accept "key
  value" lines without '=', as this is optional as per upstream
  specification. Add appropriate test cases to t/005_PgCommon.t. Thanks
  to Frederic Junod for the original patch suggestion. (Closes: #618583)
* PgCommon.pm, cluster_info(): If postgresql.conf defines an external PID
  file, check its existence for determining if a cluster is running, instead
  of poking the port. This is more efficient, and also gives correct results
  for overlapping port numbers. Based on a patch from Jens Wilke, thanks!
  (Closes: #606336)
* pg_buildext: Apply various improvements from Christoph Berg, thanks!

[ Peter Eisentraut ]
* pg_createcluster: Update comment alignment to match existing file better.
  (Closes: #632702)

28. By Martin Pitt

* Update Catalan debconf translations, thanks Innocent De Marchi.
  (Closes: #628370)
* t/050_encodings.t: Update \' escaping test case for 9.1, as this
  finally has been deprecated.
* debian/control: Add p-server-dev-all dependency to p-common, so that
  packages that build-dep on it get the pg_config wrapper.

27. By Martin Pitt

* Update Dutch debconf translations, thanks Vincent Zweije.
  (Closes: #627520)
* Add Catalan debconf translations, thanks Innocent De Marchi.
  (Closes: #628370)
* debian/control, debian/rules: Let -server-dev-all depend on all supported
  -server-dev-X.Y packages. (Closes: #624749)
* Add pg_config wrapper: If postgresql-server-dev-* is installed, this calls
  pg_config from the latest available one. Otherwise this falls back to
  libpq-dev's version. This should fix a common confusion for people who
  want to build e. g. 9.0 server-side extensions with a newer (like 9.1
  beta) libpq-dev installed. In debian/postgresql-common.{preinst,postrm}:
  Divert libpq-dev's /usr/bin/pg_config to pg_config.libpq-dev.

26. By Martin Pitt

* debian/supported-versions: Move Debian testing/unstable and Ubuntu 11.10
  to 9.0.
* pg_upgradecluster: Revert to the previous encode()/decode() wrapping in
  the "probin" fixup for cluster upgrades from versions < 9.0. Earlier
  versions' replace() function indeed does work on bytea types, not strings,
  so this broke upgrades to 8.4. (Closes: #627227)
* pg_upgradecluster: Drop all unversioned configuration option transitions,
  which were still from the 7.4 → 8.0 days. These are obsolete, and
  versions >= 96 only support clusters >= 8.1 anyway. In some cases they
  actively break stuff, like inadvertently setting log_statement=all.
  (Closes: #617493)
* t/060_obsolete_confparams.t: Fix remaining "{,log_}timezone=unknown"
  example configuration files, to also fix upgrade tests for 8.4 → 9.1.

25. By Martin Pitt

* Add Danish debconf translations, thanks Joe Dalton. (Closes: #619057)
* debian/README.Devel: Modernize a bit.
* pg_upgradecluster: In the "probin" fixup, drop the wrapping in
  encode()/decode(). This has been wrong all the time, as the "probin"
  column already is of "text" datatype, and now breaks with 9.1.
* Add support for 9.1:
  - Add 9.1 configuration method to pg_createcluster.
  - cleanpg: Stop 9.1 clusters.
  - t/040_upgrade.t: Don't call createlang for upgrades from 9.0 on, as
    PL/pgsql is enabled there by default.
  - t/050_encodings.t: Update for changed error message for invalid usage of
    \' in 9.1.
  - t/060_obsolete_confparams.t: Add full configuration for 9.0 to test the
    configuration update to 9.1.

24. By Martin Pitt

* debian/supported-versions: Add Ubuntu 11.04. Drop versions which are newer
  than the ones supported in the released versions, as backports are now
  generally accepted by our .config scripts, but having those newer versions
  confuses pg_buildext.
* debian/postgresql-common.config: Silence warning from --compare-versions
  when being called through a trigger and $2 is not a version number.
  This works around the underlying dpkg problem. (Closes: #608522)
* Add debian/postgresql-common.sysctl: sysctl.d/ template for changing
  kernel.shmmax and kernel.shmall, which is very common with PostgreSQL.
  Install it in debian/rules. Thanks to Peter Eisentraut for the suggestion!
  (Closes: #607946)
* testsuite: Take new unified init script into account when stopping
  existing clusters. Thanks Steve Beattie! (LP: #712200)
* pg_wrapper: If libreadline is installed, LD_PRELOAD this for "psql", to
  avoid using the rather broken libedit. We need to build the postgresql-X.Y
  packages against libedit for license reasons (#603599), but as libreadline
  has a drop-in compatible ABI, this works around the licensing
  restrictions. Thanks to Andreas Barth for working this out! Add a
  recommends to libreadline6. (Closes: #608442, #607907, #607109, #611918)

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers