Fix de-escaping checks so that we will reject \000 as well as other invalidly

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 22c922269f5f8a80267389e1c879c0b65fbba902
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-04-19T21:08:54Z
Releases: 8.4.0
Fix de-escaping checks so that we will reject \000 as well as other invalidly
encoded sequences.  Per discussion of a couple of days ago.

Files

PathChange+/−
src/backend/commands/copy.c modified +8 −8
src/backend/parser/scan.l modified +20 −18