Use ereport() rather than elog()
Noah pointed this out before I committed
50f770c3d9, but I
accidentally pushed the old version with elog() anyway. Oops.
Reported-by: Noah Misch <noah@leadboat.com>
Discussion: https://www.postgresql.org/message-id/
20250820003756.31.nmisch@google.com