aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/regexp.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2018-08-28 12:32:22 +1200
committerThomas Munro <tmunro@postgresql.org>2018-08-28 12:32:22 +1200
commitee0e2745c2f2c8ac47250dde718ac712686a79aa (patch)
treebdefbac92d3fc7774c5cd6f839ec09163dc191b8 /src/backend/utils/adt/regexp.c
parent7a3b7bbfded3142aaa8edae2dbc88999568cc1cd (diff)
downloadpostgresql-ee0e2745c2f2c8ac47250dde718ac712686a79aa.tar.gz
postgresql-ee0e2745c2f2c8ac47250dde718ac712686a79aa.zip
Code review for simplehash.h.
Fix reference to non-existent file in comment. Add SH_ prefix to the EMPTY and IN_USE tokens, to reduce likelihood of collisions with unrelated macros. Add include guards around the function definitions that are not "parameterized", so the header can be used again in the same translation unit. Undefine SH_EQUAL macro where other "parameter" macros are undefined, for the same reason. Author: Thomas Munro Reviewed-by: Tom Lane Discussion: https://postgr.es/m/CAEepm%3D1LdXZ3mMTM8tHt_b%3DK1kREit%3Dp8sikesak%3DkzHHM07Nw%40mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/regexp.c')
0 files changed, 0 insertions, 0 deletions