Re: Planning counters in pg_stat_statements
legrand legrand <legrand_legrand@hotmail.com>
From: legrand legrand <legrand_legrand@hotmail.com>
To: pgsql-hackers@postgresql.org
Date: 2018-04-01T16:33:25Z
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
Commits
-
Allow pg_stat_statements to track planning statistics.
- 17e03282241c 13.0 landed