pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
error dropping operator
2+ messages / 2 participants
[nested] [flat]

* error dropping operator
@ 2007-09-18 10:55  Sabin Coanda <sabin.coanda@deuromedia.ro>
  0 siblings, 1 reply; 2+ messages in thread

From: Sabin Coanda @ 2007-09-18 10:55 UTC (permalink / raw)
  To: pgsql-sql

Hi there,

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 ?

TIA,
Sabin 





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: error dropping operator
@ 2007-09-18 15:13  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Sabin Coanda <sabin.coanda@deuromedia.ro>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2007-09-18 15:13 UTC (permalink / raw)
  To: Sabin Coanda <sabin.coanda@deuromedia.ro>; +Cc: pgsql-sql

"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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-09-18 15:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-09-18 10:55 error dropping operator Sabin Coanda <sabin.coanda@deuromedia.ro>
2007-09-18 15:13 ` Tom Lane <tgl@sss.pgh.pa.us>

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