January 2019
Beginner
556 pages
14h 19m
English
PostgreSQL supports out-of-the-box, user-defined functions, written in C, SQL, and PL/pgSQL. There are also three other procedural languages that come with the standard PostgreSQL distribution—PL/Tcl, PL/Python, and PL/Perl. However, you will need to create the languages in order to use them, via the CREATE EXTENSION PostgreSQL command or the createlang utility tool. The simplest way to create a language and make it accessible to all databases is to create it in template1, directly after the PostgreSQL cluster installation. Note that you do not need to perform this step for C, SQL, and PL/pgSQL.
For beginners, the most convenient languages to use are SQL and PL/pgSQL, since they are supported directly. ...
Read now
Unlock full access