Re: Inconsistent shift operator

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Sam Mason <sam(at)samason(dot)me(dot)uk>
Subject: Re: Inconsistent shift operator
Date: 2008-04-20 17:08:00
Message-ID: 200804201908.02170.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> And I still find the premise entirely unconvincing.
> Maybe the user *wants* to see the local behavior of shift, whatever
> it might be.  It's certainly not impossible that we'd break applications
> that worked fine before (at least on the hardware they were being
> used on).

Certainly someone who uses shift operators is more prone to accept
architecture-dependent behaviors. Those who like to take a more abstract
view can use regular arithmetic.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Zdenek Kotala 2008-04-20 18:17:50 Re: BUG #4114: Inconsistent shift operator
Previous Message Tom Lane 2008-04-20 16:27:38 Re: Inconsistent shift operator