Re: How to access the extension's operator installed with schema ? - Mailing list pgsql-general

From Tom Lane
Subject Re: How to access the extension's operator installed with schema ?
Date
Msg-id 19830.1347651379@sss.pgh.pa.us
Whole thread Raw
In response to How to access the extension's operator installed with schema ?  (xoip <sorin.mircioiu@gmail.com>)
Responses Re: How to access the extension's operator installed with schema ?  (xoip <sorin.mircioiu@gmail.com>)
List pgsql-general
xoip <sorin.mircioiu@gmail.com> writes:
> 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?

The easy way is to change your search_path to include inty.
If you really don't want to do that, you can write
    OPERATOR(inty.+)
but that's pretty inconvenient.

            regards, tom lane


pgsql-general by date:

Previous
From: "K, Baraneetharan"
Date:
Subject: PostgreSql support for Windows 8
Next
From: Paul Jungwirth
Date:
Subject: Re: See the WHERE clause of a partial index