Re: Replace run-time error check with assertion

2021-05-25 Thread Tom Lane
Peter Eisentraut writes: > 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

Replace run-time error check with assertion

2021-05-25 Thread Peter Eisentraut
From a30697758c475db2f4333cedbe6aad1e1acd0ee8 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 25 May 2021 11:27:04 +0200 Subject: [PATCH] Replace run-time error check with assertion The error message was checking that the structures returned from the parser matched expectations. That's so