Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
3 user(s) are online (3 user(s) are browsing encyclopedia)

Members: 0
Guests: 3

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

PL/pgSQL

PL/pgSQL (Procedural Language/PostgreSQL Structured Query Language) is a procedural language supported by the PostgreSQL RDBMS. It closely resembles Oracle_database PL/SQL language.

PL/pgSQL, as a true programming language, allows much more control than basic SQL, including the ability to use loops and advanced control structures. Programs created in the PL/pgSQL language are called functions, and can be called as part of a SQL statement, or as the action that a triggers performs.

The design goals of PL/pgSQL were to create a loadable procedural language that:

  • can be used to create functions and trigger procedures,
  • adds control structures to the SQL language,
  • can perform complex computations,
  • inherits all user-defined types, functions, and operators,
  • can be defined to be trusted by the server,
  • is easy to use.
  • PL/pgSQL is the only PL language installed by default for PostgreSQL, but many others are available, including [http://gborg.postgresql.org/project/pljava/projdisplay.php PL/Java], [http://www.postgresql.org/docs/current/interactive/plperl.html PL/Perl], [http://plphp.commandprompt.com/ plPHP], [http://www.postgresql.org/docs/current/interactive/plpython.html PL/Python], [http://www.joeconway.com/plr/ PL/R], [http://raa.ruby-lang.org/list.rhtmlname=pl-ruby PL/Ruby], [http://developer.postgresql.org/~petere/pgplsh/ PL/sh], and [http://www.postgresql.org/docs/current/interactive/pltcl.html PL/Tcl].

    =References=

  • [http://www.postgresql.org/docs/current/static/plpgsql.html PostgreSQL PL/pgSQL documentation]