[Pkg-postgresql-public] Bug#743914: [postgresql-9.1] Locale of postgresql default table in live-system

Louis-Maurice De Sousa louis.de.sousa at crdp.ac-versailles.fr
Tue Apr 8 09:39:59 UTC 2014


Package: postgresql-9.1
Version: 9.1.12-0wheezy1
Severity: normal

--- Please enter the report below this line. ---

Dear developpers,

I'm having some issues when using postgresql in a live-system.
If I have postgresql in desktop.list.chroot, postgresql seems to create
a test table with iso locale, and not UTF-8. It then fails
installation of airtime which needs UTF-8 table.

" * Checking database for correct encoding
  * Unfortunately your postgresql database has not been created using a 
UTF-8 encoding.
  * As of Airtime 2.1, installs will fail unless the encoding has been 
set to UTF-8. Please verify this is the case
  * and try the install again "

If I install postgresql once booted in live-system, everything works fine.

I filled this bug for live-boot :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743187

They suggest it could be possible to have a hook to force creation UTF-8 
test table during the chroot.

Thanks in advance for the work.

-- 

Cheers,
Louis-Maurice De Sousa

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.2.0-4-amd64

Debian Release: 7.4
   500 stable-updates  altair
   500 stable          security.debian.org
   500 stable          altair
   500 proposed-updates altair
   100 wheezy-backports altair

--- Package information. ---
Depends                         (Version) | Installed
=========================================-+-================
libc6                           (>= 2.11) | 2.13-38+deb7u1
libcomerr2                      (>= 1.01) | 1.42.5-1.1
libgssapi-krb5-2            (>= 1.8+dfsg) | 1.10.1+dfsg-5+deb7u1
libkrb5-3                 (>= 1.6.dfsg.2) | 1.10.1+dfsg-5+deb7u1
libldap-2.4-2                  (>= 2.4.7) | 2.4.31-1+nmu2
libpam0g                    (>= 0.99.7.1) | 1.1.3-7.1
libpq5                          (>= 9.1~) | 9.1.12-0wheezy1
libssl1.0.0                    (>= 1.0.0) | 1.0.1e-2+deb7u5
libxml2                        (>= 2.7.4) | 2.8.0+dfsg1-7+nmu2
postgresql-client-9.1                     | 9.1.12-0wheezy1
postgresql-common               (>= 115~) | 134wheezy4
tzdata                                    | 2014a-0wheezy1
ssl-cert                                  | 1.0.32
locales                                   | 2.13-38+deb7u1


Package's Recommends field is empty.

Suggests          (Version) | Installed
===========================-+-===========
oidentd                     |
  OR ident-server            |
locales-all                 |



More information about the Pkg-postgresql-public mailing list