Thanks to visit codestin.com
Credit goes to postgrespro.com

Chapter 41. PL/Tcl - Tcl Procedural Language

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.