PG-1437 Just remove TODO from error from RAND_new()

Since this is a very unlikely error we do not need to do an extra work
to get a good error message.
pull/209/head
Andreas Karlsson 6 months ago committed by Andreas Karlsson
parent bf4cc68833
commit 40bcad6c35
  1. 4
      contrib/pg_tde/src/access/pg_tde_tdemap.c

@ -192,8 +192,8 @@ pg_tde_generate_internal_key(InternalKey *int_key, uint32 entry_type)
if (!RAND_bytes(int_key->key, INTERNAL_KEY_LEN))
ereport(ERROR,
(errcode(ERRCODE_INTERNAL_ERROR),
errmsg("could not generate internal key for relation \"%s\": %s",
"TODO", ERR_error_string(ERR_get_error(), NULL))));
errmsg("could not generate internal key: %s",
ERR_error_string(ERR_get_error(), NULL))));
}
const char *

Loading…
Cancel
Save