Re: 9.3 RC1 psql encoding reporting inconsistently?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Nolan <htfoot(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 9.3 RC1 psql encoding reporting inconsistently?
Date: 2013-09-02 23:54:25
Message-ID: 26519.1378166065@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Nolan <htfoot(at)gmail(dot)com> writes:
> This is 9.3 RC1 on a Fedora 7 system. Why does \l report the encoding
> as SQL_ASCII and \set report it as UTF8?

psql sets client_encoding based on its environment (LANG or related
variables). That's been true for some time --- since 9.1, according
to a quick check.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2013-09-03 00:08:45 Re: [v9.4] row level security
Previous Message Michael Nolan 2013-09-02 23:28:11 9.3 RC1 psql encoding reporting inconsistently?