| From: | Aleksander Alekseev <aleksander(at)tigerdata(dot)com> |
|---|---|
| To: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
| Cc: | "Koshi Shibagaki (Fujitsu)" <shibagaki(dot)koshi(at)fujitsu(dot)com> |
| Subject: | Re: [PATCH] Support casts from numeric to oid8 |
| Date: | 2026-11-25 08:33:07 |
| Message-ID: | CAJ7c6TNEv6Uu2dO_pfw_iLrFqpNq9pGiju2pX+-5hobaM3VgvA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi Koshi,
> I thought it was inconsistent that 9223372036854775807::oid8 works, but
> 9223372036854775808::oid8 fails. Both values are within the range of oid8,
> so I expected both casts to work. That's why I sent the patch.
Then I wonder what could be the use case for the existing partial
conversion. Perhaps instead of adding more casts we should remove the
existing ones in order to make it consistent with xid8.
I believe we need more opinions from the community before moving any
patches in this area forward.
--
Best regards,
Aleksander Alekseev
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Neil Chen | 2026-11-25 08:37:56 | Re: [PATCH] psql: Complete GRANTED BY in GRANT and REVOKE |
| Previous Message | Ayush Tiwari | 2026-11-25 08:18:26 | Re: Fix leftover data handling and simplify read conditions in copy_read_data() |