Re: Bug in COPY FROM backslash escaping multi-byte chars
John Naylor <john.naylor@enterprisedb.com>
From: John Naylor <john.naylor@enterprisedb.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-02-03T13:38:11Z
Lists: pgsql-hackers
On Wed, Feb 3, 2021 at 8:08 AM Heikki Linnakangas <hlinnaka@iki.fi> wrote: > > Hi, > > While playing with COPY FROM refactorings in another thread, I noticed > corner case where I think backslash escaping doesn't work correctly. > Consider the following input: > > \么.foo I've seen multibyte delimiters in the wild, so it's not as outlandish as it seems. The fix is simple enough, so +1. -- John Naylor EDB: http://www.enterprisedb.com
Commits
-
Fix backslash-escaping multibyte chars in COPY FROM.
- c87cbd51ee1d 13.2 landed
- aaf266157d21 9.5.25 landed
- e152ccc7fd59 9.6.21 landed
- c06632e48b35 10.16 landed
- d9b4163c553e 11.11 landed
- 9b0ce895794c 12.6 landed
- c444472af5c2 14.0 landed