diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-10-22 16:43:38 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-10-22 16:43:38 -0400 |
commit | 8cee4be6dc931c74870f57a7697b031838876da4 (patch) | |
tree | 149f3619be613e2dba53d88d805135f0a1ee878a /src/backend/regex | |
parent | 3ad2c2455be0bd42f1ca22907850b93c3afc575b (diff) | |
download | postgresql-8cee4be6dc931c74870f57a7697b031838876da4.tar.gz postgresql-8cee4be6dc931c74870f57a7697b031838876da4.zip |
Fix frontend version of sh_error() in simplehash.h.
The code does not expect sh_error() to return, but the patch
that made this header usable in frontend didn't get that memo.
While here, plaster unlikely() on the tests that decide whether
to invoke sh_error(), and add our standard copyright notice.
Noted by Andres Freund. Back-patch to v13 where this frontend
support came in.
Discussion: https://postgr.es/m/0D54435C-1199-4361-9D74-2FBDCF8EA164@anarazel.de
Diffstat (limited to 'src/backend/regex')
0 files changed, 0 insertions, 0 deletions