pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sabin Coanda <sabin.coanda@deuromedia.ro>
Cc: pgsql-sql@postgresql.org
Subject: Re: error dropping operator
Date: Tue, 18 Sep 2007 11:13:10 -0400
Message-ID: <4575.1190128390@sss.pgh.pa.us> (raw)
In-Reply-To: <fcoaq3$11rk$1@news.hub.org>
References: <fcoaq3$11rk$1@news.hub.org>

"Sabin Coanda" <sabin.coanda@deuromedia.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



view thread (2+ messages)

Message-ID: <4575.1190128390@sss.pgh.pa.us>
Permalink:  ../4575.1190128390@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4575.1190128390@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sabin.coanda@deuromedia.ro
  Subject: Re: error dropping operator
  In-Reply-To: <4575.1190128390@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox