Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PL/pgSQL

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How can I use PL/pgSQL (SQL Procedural Language) ?
Because now I've got following error:

ERROR: Unrecognized language specified in a CREATE FUNCTION: 'plpgsql'.

Recognized languages are sql, C, internal, and created procedural languages.?
 
You have to run the 'createlang' function. As the user of your database (or as the main 'postgres' user), just run the command 'createlang plpgsql [databasename]', and then you can use PL/pgSQL. -------------------------------------------

"Now, this might cause some discomfort..."
(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top