pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: abdulrahman Alotaibi <adminq80@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Locale breaks psql
Date: Wed, 03 Dec 2014 10:52:20 +0300
Message-ID: <547EC134.4070208@gmail.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hello all,

I am using PostgreSQL 9.3.5 on Ubuntu Trusty-64. My machine has LC_* set 
to en_GB.UTF-8 and I used the attached VagrantFile to create the machine 
and provision using Ansible. Postgres was installed on seven other 
machines and kept breaking on two machines. After checking for two days, 
I found that my colleague's machine had locale set to en_AU.UTF-8 and my 
machine had locale set to en_GB.UTF-8. I changed both machines to use 
en_US.UTF-8 as a default locale and it worked.

The error I was getting when I ran psql after switching to postgres user 
was "Server: No such file or directory found" and couldn't connect to 
socket /var/Pg.5432.
Sorry for not having the exact output.

Sincerely,
Abdulrahman Alotaibi

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Attachments:

  ansible_deployment.yml (application/x-yaml, 936B) download

Vagrantfile (text/plain, 381B) download VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "https://cloud-images.ubuntu.com/vagrant/trusty/20141202.1/trusty-server-cloudimg-amd64-vagrant-disk1.box" config.vm.network "forwarded_port", guest: 80, host: 8000 config.ssh.forward_agent = true config.vm.provision "ansible", playbook: "ansible_deployment.yml" end

Message-ID: <547EC134.4070208@gmail.com>
Permalink:  ../547EC134.4070208@gmail.com/
Also on:    postgresql.org/message-id/547EC134.4070208@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: adminq80@gmail.com
  Subject: Re: Locale breaks psql
  In-Reply-To: <547EC134.4070208@gmail.com>
  References: <547EC134.4070208@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox