Re: Creating Extension pg_trgm

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: itishree sukla <itishree(dot)sukla(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Creating Extension pg_trgm
Date: 2013-05-16 13:36:45
Message-ID: 12421.1368711405@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

itishree sukla <itishree(dot)sukla(at)gmail(dot)com> writes:
> I need to create pg_trgm extension, however in my current DB, we have some
> function based on pg_trgm. when i am trying to create extension, it is
> asking to drop all dependant function, is there anyway without dropping
> any dependency i can create this extension.

It sounds like what you're really trying to do is update a pre-extensions
installation of pg_trgm into extension form. "CREATE EXTENSION pg_trgm
FROM unpackaged" should do that.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2013-05-16 13:42:51 Re: problem with lost connection while running long PL/R query
Previous Message Ioana Danes 2013-05-16 13:35:39 Re: Running out of memory at vacuum