Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440258 - emerge --config postgresql-server is locale-sensitive
Summary: emerge --config postgresql-server is locale-sensitive
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
Depends on:
Reported: 2012-10-30 13:06 UTC by Patrick Lauer
Modified: 2013-02-08 18:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2012-10-30 13:06:55 UTC
So, weird thing I noticed today:

LANG="C" emerge --config postgresql-server
this will default to ASCII for the DB templates

LANG="en_US.utf8" emerge --config postgresql-server
this will default to UTF8

So it's inconsistent/unpredictable for users. It'd be nice for it to default to UTF8, and possibly give users an option to override it if needed
Comment 1 Aaron W. Swenson gentoo-dev 2013-01-30 15:11:21 UTC
Changes made in git.
Comment 2 Aaron W. Swenson gentoo-dev 2013-02-08 18:45:02 UTC
*postgresql-server-9.2.3 (08 Feb 2013)
*postgresql-server-9.1.8 (08 Feb 2013)
*postgresql-server-9.0.12 (08 Feb 2013)
*postgresql-server-8.4.16 (08 Feb 2013)
*postgresql-server-8.3.23 (08 Feb 2013)

  08 Feb 2013; Aaron W. Swenson <>
  +postgresql-server-8.3.23.ebuild, +postgresql-server-8.4.16.ebuild,
  +postgresql-server-9.0.12.ebuild, +postgresql-server-9.1.8.ebuild,
  +postgresql-server-9.2.3.ebuild, postgresql-server-9999.ebuild:
  Added kerberos USE flag. (Bug 427948) Use python-single-r1.eclass to build
  PL/Python against the Python of the users choosing. (Bug 427954) 'use'
  instead of 'need' logger in /etc/init.d/postgresql-${SLOT}. (Bug 435280)
  Default to sane character encoding default with --encoding=UTF-8 in
  /etc/conf.d/postgresql-${SLOT}. (Bug 440258) Append ${SLOT} to PAM service
  name; each slot now has its own PAM service file. (Bug 443113) Security
  bump. (Bug 456080)