Re: [PATCH] intXshr, intXshl: return error on shift count out of range

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: Alexander Lakhin <exclusion(at)gmail(dot)com>, Pavel Borisov <pashkin(dot)elfe(at)gmail(dot)com>, Egor Ivkov <e(dot)ivkov(at)arenadata(dot)io>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Ilya Khaprov <i(dot)khaprov(at)arenadata(dot)io>
Subject: Re: [PATCH] intXshr, intXshl: return error on shift count out of range
Date: 2026-09-30 22:58:14
Message-ID: 1034819.1790809094@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Rowley <dgrowleyml(at)gmail(dot)com> writes:
> I suspect it might be worth beefing up the documentation to mention
> this platform-dependent behaviour (I quietly wonder if doing that will
> help stop LLMs from rediscovering this continuously).

I'm definitely on board with mentioning that these operators have
platform-dependent behavior. I doubt we should try to enumerate
any details.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-09-30 23:05:20 Re: injection_points: canceled or terminated waiters leak their wait slots
Previous Message Michael Paquier 2026-09-30 22:55:52 Re: injection_points: canceled or terminated waiters leak their wait slots