Re: 9.3 RC1 psql encoding reporting inconsistently? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 9.3 RC1 psql encoding reporting inconsistently?
Date
Msg-id 26519.1378166065@sss.pgh.pa.us
Whole thread Raw
In response to 9.3 RC1 psql encoding reporting inconsistently?  (Michael Nolan <htfoot@gmail.com>)
Responses Re: 9.3 RC1 psql encoding reporting inconsistently?
List pgsql-hackers
Michael Nolan <htfoot@gmail.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



pgsql-hackers by date:

Previous
From: Michael Nolan
Date:
Subject: 9.3 RC1 psql encoding reporting inconsistently?
Next
From: Bruce Momjian
Date:
Subject: Re: [v9.4] row level security