Question: what is pltcl in postgresql?
Answer: pltcl is a PostgreSQL module which embeds a safe Tcl interpreter inside the running database. You can write triggers, stored procedures, perform queries and so on. There is a related pltclu unsafe module which allows access to the file system, sockets etc.