aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/regexp.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2012-07-09 17:36:29 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2012-07-10 15:50:58 -0400
commitfc661f78c6007103604fc43e98622a71400b769f (patch)
tree13e87db428d62a65f816781623d8807d1b48c036 /src/backend/utils/adt/regexp.c
parent1fbe7d377cb6bf070442794a677499cd2e7531cc (diff)
downloadpostgresql-fc661f78c6007103604fc43e98622a71400b769f.tar.gz
postgresql-fc661f78c6007103604fc43e98622a71400b769f.zip
plperl: Skip setting UTF8 flag when in SQL_ASCII encoding
When in SQL_ASCII encoding, strings passed around are not necessarily UTF8-safe. We had already fixed this in some places, but it looks like we missed some. I had to backpatch Peter Eisentraut's a8b92b60 to 9.1 in order for this patch to cherry-pick more cleanly. Patch from Alex Hunsaker, tweaked by Kyotaro HORIGUCHI and myself. Some desultory cleanup and comment addition by me, during patch review. Per bug report from Christoph Berg in 20120209102116.GA14429@msgid.df7cb.de
Diffstat (limited to 'src/backend/utils/adt/regexp.c')
0 files changed, 0 insertions, 0 deletions