lp:ubuntu/raring-proposed/postgresql-common
- Get this branch:
- bzr branch lp:ubuntu/raring-proposed/postgresql-common
Branch merges
Branch information
Recent revisions
- 53. By Christoph Berg
-
[ Martin Pitt ]
* t/001_packages.t: Also check that -contrib is installed.
* debian/backport- ppa: Backport -common for Ubuntu 12.10.
* PgCommon.pm: Recognize "include_if_exists" directive. (LP: #1098986)
* pg_ctlcluster: Recreate a missing /var/log/postgresql/ if needed.
(LP: #1009989)
* debian/postgresql- client- common. links: Wrap pgbench with pg_wrapper.
(LP: #1068194)[ Christoph Berg ]
* testsuite: The default list of umasks to test (022 077) can be overridden
by setting the environment variable PG_UMASKS.
* t/003_package_checks. t: Ensure psql is linked against libedit.
* t/005_PgCommon.t: Increase sleep time after netcat launch to 200ms.
* t/020_create_sql_remove. t: Test process title update.
* pg_createcluster: Allow passing of initdb arguments on the command line.
If --auth parameters are passed, skip updating the generated pg_hba.conf
file.
* pg_virtualenv: Allow passing initdb arguments to pg_createcluster.
* pg_upgradecluster: Print a helpful message when invoked on the target
version. Problem seen on #postgresql.
* t/030_errors.t: Adjust testsuite for this.
* debian/supported- versions: Handle unset variables from /etc/os-release
gracefully. Spotted by x4rlos on #postgresql.
* pg_buildext: Set USE_PGXS=1, and srcdir (needed by plr). - 52. By Christoph Berg
-
[ Christoph Berg ]
* pg_virtualenv: New program to create throw-away clusters for running
regression tests.
* testsuite: unshare needs "--" or else it eats our options.
* testsuite: Require netcat-openbsd to be installed.
* testsuite: Move locale generation here from debian/tests/system, also
generate en_US.utf8 locale; unset LC_ALL.
* Drop debian/tests, moved to the postgresql-* server packages.
* testsute 005_PgCommon: Do the ipv4 tests before the ipv6 ones; skip
the ipv6 for perl <= 5.10 (i.e. on squeeze and lucid).
* PgCommon.pm, pg_ctlcluster, pg_createcluster, t/030_errors.t: 9.3 renames
unix_socket_ directory to unix_socket_ directories.
* pg_wrapper: Document that PGHOST overrides PGCLUSTER. (Closes: #697291)
* pg_wrapper: Skip cluster selection if --host is given on the command line.
(Closes: #637017) While we are at it, improve --port parsing, too.
* t/010_defaultport_cluster. t: Add test cases for the above pg_wrapper
changes.
* t/040_upgrade.t: dup2 psql stderr to suppress warning 'could not change
directory to "/tmp/pgtest'.
* postgresql-client- common: Add Depends: netbase for getprotobyname() in
PgCommon.pm. (Closes: #697377)[ Martin Pitt ]
* debian/supported- versions: Read /etc/os-release if present, and fall back
to lsb-release. Exit with a proper error message if neither is present.
This gets rid of the (currently undeclared) strict dependency on
lsb-release. (Closes: #697182)
* debian/README. Debian: Update versions to 8.4/9.1, as current for Squeeze
and Wheezy. (Closes: #697239) - 51. By Martin Pitt
-
[ Christoph Berg ]
* testsuite: start localhost interface which is down after unshare -n.[ Martin Pitt ]
* testsuite: Stop currently running clusters, just as the script has done
until 136.
* testsuite: Use a more elegant way of re-execing ourselves through unshare. - 50. By Martin Pitt
-
[ Martin Pitt ]
* debian/backport- ppa: Disable xz compression for lucid.
* debian/backport- ppa: Disable libraries for -9.1/natty as well, built by
9.2 now.
* debian/backport- ppa: Ensure that backport PPA versions are always smaller
than the versions in -updates.
* pg_wrapper: Always use the latest available client version of "psql"
instead of the target cluster's. psql is backwards compatible to all major
versions that we support in any release. Update tests to use "createdb"
instead of "psql" for --version tests, and add a new test for the psql
special case to t/020_create_sql_remove. t. (Closes: #639108)
* debian/postgresql- common. triggers: Also watch for changes in
/usr/share/hunspell/ ; pg_updatedicts handles these as well.
(Closes: #689994)
* debian/tests/control: Add netcat-openbsd test dependency for the
next_free_port() tests added below.
* debian/backport- ppa: Drop natty (EOL), add raring for 9.2.
* debian/supported- versions: Add Ubuntu 13.04.
* testsuite: Run with overlaid tmpfses on the postgresql /etc/ and /var
directories in an unshared namespace. This is more robust against
protecting existing clusters, always cleans up after itself properly, and
also speeds up testing.
* t/031_errors_disk_full. t: Drop check for existence of unshare, as
./testsuite now unconditionally requires it.
* debian/postgresql- common. postinst: Only chown /var/lib/postgresql if it
does not already have the correct ownership. This avoids failures when the
directory is NFS mounted. Thanks Hugh Davenport! (Closes: #693958)[ Christoph Berg ]
* testsuite: Move 'disk full' tests from 030_errors to new file
031_errors_disk_full.
* testsuite: Note that Test::More 0.87 is required for done_testing() in
170_extensions.
* testsuite 005_PgCommon: Add next_free_port tests (using /bin/nc).
* supported-versions: Make output configurable via $PG_SUPPORTED_VERSIONS,
~/.pg_supported_ versions, and /etc/postgresql -common/ supported_ versions.
(Closes: #646700)
* supported-versions: Add debian-backports and pgdg sections.
(Closes: #650680)
* For bpo and pgdg builds (determined by the version number), create
/etc/postgresql- common/ supported_ versions with appropriate content.
* Replace version string comparisions in perl scripts to use numerical
operators, so things will continue to work when PostgreSQL 10.0 is
released.
* debian/rules: Use sort -n for sorting supported-versions output.
* debian/rules: Use apt-cache policy instead of apt-cache show to determine
the "candidate" logrotate version.
* testsuite 020_create_sql_remove: Fix plperl test to work with 8.2.
* testsuite 085_pg_ctl.conf: Skip for 8.2. - 48. By Martin Pitt
-
[ Martin Pitt ]
* debian/backport- ppa: Do first upload with orig tarball, subsequent ones
without.
* debian/backport- ppa: Do not run lintian.
* debian/backport- ppa: When building postgresql-9.1 for lucid, drop the
library packages as they collide with the ones built from postgresql-9.2.
* debian/backport- ppa: Build 9.2 for Quantal and Natty.
* debian/supported- versions: Add Ubuntu 12.10.
* t/030_errors.t: For the "fails on insufficient disk space test", move from
setting up a loop device to a tmpfs in unshare -m. This is more robust for
cleaning up after itself, and faster as well.
* pg_ctlcluster: Fix log output to stderr if the log file started out being
empty. Add test case to t/030_errors.t.
* debian/maintscripts- functions: Only try to remove the tsearch_data
directory if it already exists. Thanks Peter Palfrader. (Closes: #688105)[ Christoph Berg ]
* pg_buildext: Fix supported-versions not to die when the last version is
not supported.
* testsuite: Add getopt handling, and make the list of umasks to loop
through configurable (-u).
* t/001_packages.t: Print list of installed versions for information.
* As debian/supported- versions is also used at build-time, add a
build-dependency on lsb-release for lsb_release to be available. Also,
print supported versions from debian/rules for easier debugging. - 47. By Martin Pitt
-
[ Martin Pitt ]
* pg_createcluster: For 9.2 and higher, use the new ssl_{cert,key}_file
options instead of creating symlinks in the data directory.
(Closes: #680162)
* pg_upgradecluster: Set above options to the old cluster's SSL cert/key
symlink destinations, if they exist.
* debian/maintscripts- functions: Configure alternatives for manpages in
-contrib. This will only take effect after (re)installing
postgresql-contrib- 9.2. (Closes: #680571)
* debian/postgresql- common. postgresql. init: Fix "status" output to be more
useful and legible, and exit with code 3 if any cluster is down.
(Closes: #656363)
* debian/postgresql- common. postgresql. init: Show a warning message if no
clusters exist. (Closes: #677604)
* t/041_upgrade_custompaths. t: Run test with a cluster that is down, to
verify that pg_upgradecluster works for non-running clusters, too.
* pg_upgradecluster: Move encoding detection after restarting the cluster
with restricted connections, and drop the check that the cluster is
running. With this, pg_upgradecluster also works for clusters which are
not running. (Closes: #681344)[ Peter Eisentraut ]
* pg_createcluster: For PostgreSQL >= 9.2, use initdb options to set the
default authentication methods, instead of modifying the configuration
file directly. (Closes: #685043) - 46. By Martin Pitt
-
* debian/
backport- ppa: Fix syntax error.
* PgCommon.pm: Drop unconditional import of Socket::IN6ADDR_ANY and only do
the IPv6 check if it is available. This keeps this version backwards
compatible with Debian/Ubuntu releases with older Perl versions. - 45. By Martin Pitt
-
[ Christoph Berg ]
* Add .bzrignore file.
* PgCommon.pm: Check IPv4 and IPv6 in next_free_port(). (Closes: #678858)[ Peter Eisentraut ]
* debian/control: Add myself to Uploaders.
* debian/postgresql- common. lintian- overrides: Remove unused
binary-without- manpage overrides (files were moved to
postgresql-client- common package).
* debian/rules: Catch errors in for loops.
* pg_wrapper: Avoid Perl warnings if psql is linked against libreadline
instead of libedit, even though that is not standard anymore.
* testsuite: Reset core limit for pg_ctl tests.
* testsuite: Allow running individual tests by passing them on the
command line.[ 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) - 44. By Christoph Berg
-
[ Martin Pitt ]
* debian/control: Add XS-Testsuite: header, as per current DEP-8.
* debian/tests/control: Drop undefined "no-build-needed" feature. [ Christoph Berg ]
* Recognize "online,recovery" clusters in init script. (Closes: #678936)
Spotted by Gilbert Roulot.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu/raring/postgresql-common