Synapse ↵

logically incoherent… not!

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 -

Read more »

March 27, 2006 Posted by synapse | Linux, Programming, Tips and Tricks | | No Comments Yet

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.

Read more »

December 20, 2005 Posted by synapse | Programming | | 7 Comments