Re: error dropping operator

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sabin Coanda" <sabin(dot)coanda(at)deuromedia(dot)ro>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: error dropping operator
Date: 2007-09-18 15:13:10
Message-ID: 4575.1190128390@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Sabin Coanda" <sabin(dot)coanda(at)deuromedia(dot)ro> writes:
> I don't have experience with operators. I built one and when I tried to drop
> it I got th efollowing error: cannot drop operator ... because it is
> required by the database system.

> How do I drop it please ?

Well, you need to drop *your* operator, not the similarly named built-in
one which is evidently what you tried to do. You have to watch out for
search_path gotchas here --- most likely, you need to specify the schema
containing your operator explicitly.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message John Summerfield 2007-09-19 05:32:02 Re: Extracting hostname from URI column
Previous Message Rodrigo De León 2007-09-18 13:51:17 Re: Table transform query