Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change language of system and error messages in PostgreSQL

Tags:

postgresql

Is it possible to change the language of system messages from PostgreSQL?

In MSSQL for instance this is possible with the SQL statement SET LANGUAGE.

like image 327
Benno Richters Avatar asked Oct 10 '08 14:10

Benno Richters


People also ask

Which language is a loadable procedural language for PostgreSQL?

PL/Tcl is a loadable procedural language for the PostgreSQL database system that enables the Tcl language to be used to write functions and trigger procedures.


1 Answers

SET lc_messages TO 'en_US.UTF-8'; 

More info on requirements and limitations here.

like image 107
Milen A. Radev Avatar answered Sep 24 '22 15:09

Milen A. Radev