Re: BUG #16247: Cast error on integer

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: ddtripathy(at)yahoo(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16247: Cast error on integer
Date: 2020-02-06 21:53:28
Message-ID: CAKFQuwaujY=UBAbtCvVWWJySp5Vjwse_LK1Q8ModQxozSd5FYA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Feb 6, 2020 at 2:44 PM PG Bug reporting form <noreply(at)postgresql(dot)org>
wrote:

> The only difference between the two calls is how I'm casting the integer.
>

Not a bug - operator precedence:

https://www.postgresql.org/docs/12/sql-syntax-lexical.html#SQL-PRECEDENCE

David J.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2020-02-06 22:00:05 Re: FK violation in partitioned table after truncating a referenced partition
Previous Message PG Bug reporting form 2020-02-06 21:43:41 BUG #16247: Cast error on integer