Re: extension built-in but now showing in dx/dx+

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: extension built-in but now showing in dx/dx+
Дата
Msg-id 15143.1378132856@sss.pgh.pa.us
обсуждение исходный текст
Ответ на extension built-in but now showing in dx/dx+  (Athanasios Kostopoulos <athanasios.kostopoulos@classmarkets.com>)
Список pgsql-novice
Athanasios Kostopoulos <athanasios.kostopoulos@classmarkets.com> writes:
> postgres=# \dx
>                  List of installed extensions
>   Name   | Version |   Schema   |         Description
> ---------+---------+------------+------------------------------
>  plpgsql | 1.0     | pg_catalog | PL/pgSQL procedural language
> (1 row)

> postgres=# CREATE EXTENSION plpythonu;
> ERROR:  language "plpythonu" already exists

> I cannot see the extension(s) but when I am trying to create them I get a
> message that they already exist?!? What am I missing? Thanks in advance for
> any replies.

The message is about the language, not the extension.  Apparently you've
got an old "unpackaged" version of plpythonu.  \dL would show it.

You could try "create extension plpythonu from unpackaged".  But it'd
probably be cleaner if you can drop the old language altogether (ie, you
don't have or don't care about any functions in this language).

            regards, tom lane


В списке pgsql-novice по дате отправления:

Предыдущее
От: Athanasios Kostopoulos
Дата:
Сообщение: extension built-in but now showing in dx/dx+
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Bit count