Enable a procedural language in Postgres

If you wish to add any language support to your PostgresSQL database use the createlang command from your terminal. For eg: To add PLPGSQL support -
su
su postgres
createlang plpgsql -d template1
where -d signifies name of the database. The other command line arguments that the createlang command takes are -
Debugging with GDB (Gnu Debugger)
GDB (Gnu Debugger) is a powerful debugging tool for both C and C++. A debugger is a program that helps you find bugs by letting you examine the state of the program as it’s running. You can view the code, see the values of the variables, follow the control flow, break in the middle of an infinite loop, and more. This article is a quick introduction to the most common and useful GDB commands and techniques.

















