| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Al Bean" <albean84(at)hotmail(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: versions |
| Date: | 2002-11-27 19:21:36 |
| Message-ID: | 21048.1038424896@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
"Al Bean" <albean84(at)hotmail(dot)com> writes:
> mytestdb-# select current_timestamp;
> ERROR: parser: parse error at or near "select"
That command by itself should be fine. I suspect you had something left
over in psql's command buffer from an incomplete previous command
(forgot the semicolon maybe?)
> mytestdb=# create function test1() returns integer as 'begin return 1; end;'
> language 'plpgsql';
> ERROR: Unrecognized language specified in a CREATE FUNCTION: 'plpgsql'.
You didn't install plpgsql (see createlang script).
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2002-11-27 19:27:14 | Re: How was my PG compiled |
| Previous Message | Medi Montaseri | 2002-11-27 19:21:24 | How was my PG compiled |