Skip site navigation (1) Skip section navigation (2)

Re: Overloading '<' operator

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: trisuresh(at)yahoo(dot)co(dot)in (Suresh Tri), pgsql-general(at)postgresql(dot)org
Subject: Re: Overloading '<' operator
Date: 2004-08-31 15:08:48
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Am Dienstag, 31. August 2004 15:18 schrieb Suresh Tri:
>> Can any one tell how to use the previous version of ooperator while
>> overloading one.

> Don't call the previous operator, call the function underlying the previous 
> operator.

Or put them in different schemas and use a schema-qualified operator
reference (x operator(foo.<) y).  But if you actually *replace* the
previous definition of the operator, there's no way you can expect
to still be able to use it.

			regards, tom lane

In response to


pgsql-general by date

Next:From: Joe MaldonadoDate: 2004-08-31 15:09:07
Subject: sequences in schemas
Previous:From: Dennis GearonDate: 2004-08-31 15:08:30
Subject: functions/stored procedures

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group