diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2021-01-28 14:40:07 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2021-01-28 14:40:07 +0200 |
commit | b80e10638e36b9d2f0b39170c613837af2ca2aac (patch) | |
tree | e5219f9dd452a60abd1b583b760cb919f0bd4ba0 /src/backend/executor/nodeBitmapAnd.c | |
parent | a3367aa3c4552170004c92369681730d85e384c6 (diff) | |
download | postgresql-b80e10638e36b9d2f0b39170c613837af2ca2aac.tar.gz postgresql-b80e10638e36b9d2f0b39170c613837af2ca2aac.zip |
Add mbverifystr() functions specific to each encoding.
This makes pg_verify_mbstr() function faster, by allowing more efficient
encoding-specific implementations. All the implementations included in
this commit are pretty naive, they just call the same encoding-specific
verifychar functions that were used previously, but that already gives a
performance boost because the tight character-at-a-time loop is simpler.
Reviewed-by: John Naylor
Discussion: https://www.postgresql.org/message-id/e7861509-3960-538a-9025-b75a61188e01@iki.fi
Diffstat (limited to 'src/backend/executor/nodeBitmapAnd.c')
0 files changed, 0 insertions, 0 deletions