How to access the extension's operator installed with schema ?

Поиск
Список
Период
Сортировка
От xoip
Тема How to access the extension's operator installed with schema ?
Дата
Msg-id 1347629653044-5724032.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: How to access the extension's operator installed with schema ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello,

I'm having a problem accessing an extension's operator installed with a
schema.

PostgreSQL version: 9.1

CREATE SCHEMA inty AUTHORIZATION psql_user;
CREATE EXTENSION intarray SCHEMA inty;
SELECT inty.uniq(ARRAY[1,2,3]); --> OK, result: {1,2,3}

How can I access the operator with inty schema?

SELECT ARRAY[1,2,3] + 10; --> returns "ERROR: operator does not exist:
integer[] + integer" because the default operator (+) has other definition
SELECT ARRAY[1,2,3] fast.+ 10; --> NOT OK



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/How-to-access-the-extension-s-operator-installed-with-schema-tp5724032.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: jam3
Дата:
Сообщение: Re: Would my postgresql 8.4.12 profit from doubling RAM?
Следующее
От: "K, Baraneetharan"
Дата:
Сообщение: PostgreSql support for Windows 8