17
|
|
|
Martin Pitt |
113~hardy1 |
13 years ago
|
|
|
16
|
|
|
Martin Pitt |
106~hardy1 |
13 years ago
|
|
|
15
|
|
|
Ubuntu Archive Backp... |
101~hardy1 |
14 years ago
|
|
|
14
|
|
* 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
|
Martin Pitt |
87 |
16 years ago
|
|
|
13
|
|
|
Martin Pitt |
86 |
16 years ago
|
|
|
12
|
|
|
Martin Pitt |
85 |
16 years ago
|
|
|
11
|
|
|
Martin Pitt |
84 |
16 years ago
|
|
|
10
|
|
|
Martin Pitt |
83 |
16 years ago
|
|
|
9
|
|
|
Martin Pitt |
81 |
16 years ago
|
|
|
8
|
|
* 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)
|
Martin Pitt |
80 |
16 years ago
|
|
|
7
|
|
|
Martin Pitt |
78 |
16 years ago
|
|
|
6
|
|
|
Martin Pitt |
76 |
16 years ago
|
|
|
5
|
|
|
Martin Pitt |
75 |
16 years ago
|
|
|
4
|
|
* 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.
|
Martin Pitt |
74 |
16 years ago
|
|
|
3
|
|
|
Martin Pitt |
73 |
17 years ago
|
|
|
2
|
|
|
Martin Pitt |
71 |
17 years ago
|
|
|
1
|
|
|
Martin Pitt |
27 |
18 years ago
|
|
|