Replace run-time error check with assertion
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-05-25T09:28:56Z
Lists: pgsql-hackers
Attachments
- 0001-Replace-run-time-error-check-with-assertion.patch (text/plain) patch 0001
In the attached patch, the error message was checking that the structures returned from the parser matched expectations. That's something we usually use assertions for, not a full user-facing error message. So I replaced that with an assertion (hidden inside lfirst_node()).
Commits
-
Replace run-time error check with assertion
- 388e75ad3348 14.0 landed