The following bug has been logged on the website:
Bug reference: 13636
Logged by: Jeff Janes
Email address: jeff(dot)janes(at)gmail(dot)com
PostgreSQL version: 9.4.4
Operating system: Linux
Description:
\pset numericlocale on
select 1000000::real;
float4
--------
1e,+06
(1 row)
There should not be a comma added between e and +.
Same with other versions.