psql \encoding fixed

Started by Bruce Momjianover 22 years ago5 messageshackers
Jump to latest
#1Bruce Momjian
bruce@momjian.us

Does the new protocol fix the fact that psql \encoding doesn't see SET
CLIENT_ENCODING changes.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#1)
Re: psql \encoding fixed

Bruce Momjian <pgman@candle.pha.pa.us> writes:

Does the new protocol fix the fact that psql \encoding doesn't see SET
CLIENT_ENCODING changes.

regression=# \encoding
SQL_ASCII
regression=# set client_encoding TO unicode;
SET
regression=# \encoding
UNICODE
regression=#

regards, tom lane

#3Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#2)
Re: psql \encoding fixed

OK, psql docs updated to remove mention of that problem.

---------------------------------------------------------------------------

Tom Lane wrote:

Bruce Momjian <pgman@candle.pha.pa.us> writes:

Does the new protocol fix the fact that psql \encoding doesn't see SET
CLIENT_ENCODING changes.

regression=# \encoding
SQL_ASCII
regression=# set client_encoding TO unicode;
SET
regression=# \encoding
UNICODE
regression=#

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#3)
Re: psql \encoding fixed

Bruce Momjian <pgman@candle.pha.pa.us> writes:

OK, psql docs updated to remove mention of that problem.

They already were, I thought.

regards, tom lane

#5Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#4)
Re: psql \encoding fixed

Tom Lane wrote:

Bruce Momjian <pgman@candle.pha.pa.us> writes:

OK, psql docs updated to remove mention of that problem.

They already were, I thought.

It was still mentioned in the psql manual page. I know because I added
it in 7.3, and it was still there.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073