The patch in Sid is here: http://anonscm.debian.org/loggerhead/pkg-postgresql/postgresql-common/trunk/revision/1181
but it needs backporting. See: http://archives.postgresql.org/pgsql-general/2012-07/msg00501.php I've linked this issue in LaunchPad: https://bugs.launchpad.net/debian/+source/postgresql-common/+bug/1042556This Debian bug report is mostly so that others find the issue later, and so that it gets the proper backporting attention.
-- Craig Ringer