From: | legrand legrand <legrand_legrand(at)hotmail(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Planning counters in pg_stat_statements |
Date: | 2018-04-01 16:33:25 |
Message-ID: | 1522600405697-0.post@n3.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello,
When testing this patch on my WIN1252 database with my java front end, using
11devel snapshot
I get
org.posgresql.util.PSQLException: ERROR: character with byte sequence 0x90
in encoding
"WIN1252" has no equivalent in encoding "UTF8"
When using psql with client_encoding = WIN1252, query text are truncated:
postgres=# select pg_stat_statements_reset();
pg_stat_statements_reset
--------------------------
(1 row)
postgres=# show client_encoding;
client_encoding
-----------------
WIN1252
(1 row)
postgres=# select substr(query,1,20) from pg_stat_statements;
substr
--------------------
tatements_reset();
ding;
(2 rows)
Regards
PAscal
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html
From | Date | Subject | |
---|---|---|---|
Next Message | legrand legrand | 2018-04-01 16:43:45 | Re: Diagonal storage model |
Previous Message | Tomas Vondra | 2018-04-01 16:07:55 | Re: [HACKERS] PATCH: multivariate histograms and MCV lists |