Re: Cleaning up cross-type arithmetic operators

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Cleaning up cross-type arithmetic operators
Date: 2008-06-18 14:41:05
Message-ID: 26890.1213800065@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> On Tue, 2008-06-17 at 13:29 -0400, Tom Lane wrote:
>> What I'm inclined to do is remove the two % operators, which don't
>> seem likely to be performance-critical

> Can you discuss what you see as the benefit or trade-offs for doing
> that? Removing things tends to have major potential for annoying users
> following an upgrade.

It should be pretty much invisible to users --- any occurrences of the
case will be handled via an implicit coercion to int4.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-06-18 15:39:38 Better error reporting for tsearch config file problems
Previous Message Tom Lane 2008-06-18 14:36:04 Re: pg_dump fails to include sequences, leads to restore fail in any version