[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    Re: [GENERAL] Installing support for python on windows
From:       Tom Lane <tgl () sss ! pgh ! pa ! us>
Date:       2006-12-31 22:56:38
Message-ID: 7085.1167605798 () sss ! pgh ! pa ! us
[Download RAW message or body]

novnov <novnovice@gmail.com> writes:
> - Per most docs the installation of a language is done with createlang. I've
> tried many times and cannot get the syntax right. Typically I log in to psql
> in the \bin directory as the main postgres user. After that, a typical
> attempt is looks like this:

> postgres=# createlang 'd:\postgresql\lib\plpython' mydb;

> Typical error is:
> ERROR:  syntax error at or near "createlang"
> LINE 1: createlang d:

createlang is a command-line program, not a SQL command.  You can use
the equivalent CREATE LANGUAGE command if you want to do it from the
SQL prompt.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@postgresql.org so that your
       message can get through to the mailing list cleanly
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic