pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Glaesemann <grzm@myrealbox.com>
To: krishnaa sridharan <kichi@rediffmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: SQL language
Date: Tue, 25 Oct 2005 11:49:03 +0900
Message-ID: <EEA91A51-34B1-47D8-8490-4F74D5A14CBC@myrealbox.com> (raw)
In-Reply-To: <20051021152411.3572.qmail@webmail50.rediffmail.com>
References: <20051021152411.3572.qmail@webmail50.rediffmail.com>


On Oct 22, 2005, at 0:24 , krishnaa sridharan wrote:
> I am a new user to PostGRE SQL.
Welcome!

[Please note that the it is PostgreSQL or Postgres.]
> When i installed the application on the windows xp machine, There  
> were no language for the template database created. Is there a way  
> to add pl/sql to the databse that i create. Can some one guide me  
> on how to do this.

PL/sql is available by default. You should be able to create a  
function without installing anything. To test, try creating a simple  
function such as this:

test=# create function test_true() returns boolean language SQL as  
'select true;';
CREATE FUNCTION
test=# select test_true();
test_true
-----------
t
(1 row)


If you want to install other procedural languages, perhaps the  
documentation can help.

http://www.postgresql.org/docs/8.0/interactive/xplang.html#XPLANG- 
INSTALL

Hope this helps.

Michael Glaesemann
grzm myrealbox com






view thread (2+ messages)

Message-ID: <EEA91A51-34B1-47D8-8490-4F74D5A14CBC@myrealbox.com>
Permalink:  ../EEA91A51-34B1-47D8-8490-4F74D5A14CBC@myrealbox.com/
Also on:    postgresql.org/message-id/EEA91A51-34B1-47D8-8490-4F74D5A14CBC@myrealbox.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: grzm@myrealbox.com, kichi@rediffmail.com
  Subject: Re: SQL language
  In-Reply-To: <EEA91A51-34B1-47D8-8490-4F74D5A14CBC@myrealbox.com>
  References: <20051021152411.3572.qmail@webmail50.rediffmail.com> <EEA91A51-34B1-47D8-8490-4F74D5A14CBC@myrealbox.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox