Re: SQL language

From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: "krishnaa sridharan" <kichi(at)rediffmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: SQL language
Date: 2005-10-25 02:49:03
Message-ID: EEA91A51-34B1-47D8-8490-4F74D5A14CBC@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


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

In response to

  • SQL language at 2005-10-21 15:24:11 from krishnaa sridharan

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Glaesemann 2005-10-25 02:55:17 Re: Article on Oracle & MySQL in E-week
Previous Message Stewart Ben (RBAU/EQS4) * 2005-10-25 02:45:43 Re: how to create rule as on delete