From f626b4fbe804baf36ce8b7f96b92f564ecf80d7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Klonfar?= Date: Thu, 9 Feb 2023 10:14:01 +0100 Subject: [PATCH] Fixed segfault issue when NOT_KNOWN_ERROR --- logerrors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logerrors.c b/logerrors.c index 1eacc5e..69e233f 100644 --- a/logerrors.c +++ b/logerrors.c @@ -579,7 +579,7 @@ put_values_to_tuple( long_interval_values[6] = CStringGetTextDatum(unpack_sql_state(err_code.num)); } else { - long_interval_values[6] = true; + long_interval_nulls[6] = true; } if (elem->counter > 0) {