pgsql: Use ereport() rather than elog()

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use ereport() rather than elog()
Date: 2025-08-22 10:36:08
Message-ID: E1upP7w-0017Ow-0D@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)leadboat(dot)com>
Discussion: https://www.postgresql.org/message-id/20250820003756.31.nmisch@google.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/661f821ef0c3078c70096b09dc44fb8fed56f2b4

Modified Files
--------------
src/backend/access/heap/heapam.c | 6 ++++--
src/backend/access/index/indexam.c | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2025-08-22 11:45:06 pgsql: libpq: Handle OOM by disconnecting instead of hanging or skippin
Previous Message Heikki Linnakangas 2025-08-22 10:21:16 pgsql: Revert GetTransactionSnapshot() to return historic snapshot duri