From: | Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp> |
---|---|
To: | Al Bean <albean84(at)hotmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: versions |
Date: | 2002-11-27 19:14:19 |
Message-ID: | 3DE5198B.4020005@mega-bucks.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Al Bean wrote:
>
> mytestdb-# select current_timestamp;
> ERROR: parser: parse error at or near "select"
Are you sure? Try it again. I think you made a typo the first time. SQL
is not case sensitive (at least not in this case). "select
current_timestamp;" works fine for me.
> mytestdb=# create function test1() returns integer as 'begin return 1;
> end;' language 'plpgsql';
> ERROR: Unrecognized language specified in a CREATE FUNCTION: 'plpgsql'.
> Pre-installed languages are SQL, C, and internal.
> Additional languages may be installed using 'createlang'.
The error message is self-explanatory.
use from the command line:
# createlang plpgsql mytestdb
Jc
From | Date | Subject | |
---|---|---|---|
Next Message | Medi Montaseri | 2002-11-27 19:21:24 | How was my PG compiled |
Previous Message | Al Bean | 2002-11-27 19:02:59 | versions |