You have to go to the bin directory usually /usr/local/pgsql/bin
Then you run the createlang command.
Do not run it from the psql interface
Darren
Darren Ferguson
Software Engineer
Openband
On Fri, 18 Jan 2002, Devrim GUNDUZ wrote:
>
> Hi,
>
> I am using PostgreSQL v7.1.3 on RedHat. I have used rpm to install PG.
>
> I am trying to use the following command:
>
> template1=# createlang plpgsql template1;
> ERROR: parser: parse error at or near "createlang"
>
> I think I have missed something while installing PG... What is it?
>
> Regards, and best wishes,
>
> --
>
> Devrim G�ND�Z
>
> devrim@oper.metu.edu.tr
> devrim.gunduz@linux.org.tr
> devrimg@tr.net
>
> Web : http://devrim.oper.metu.edu.tr
> ------------------------------------------------------------------
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>