Search Postgresql Archives

Re: Installing support for python on windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



novnov <novnovice@xxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux