pgsql: Fix de-escaping checks so that we will reject \000 as well as

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix de-escaping checks so that we will reject \000 as well as
Date: 2009-04-19 21:08:54
Message-ID: 20090419210854.CEE257540E2@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/commands:
copy.c (r1.307 -> r1.308)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/copy.c?r1=1.307&r2=1.308)
pgsql/src/backend/parser:
scan.l (r1.150 -> r1.151)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/scan.l?r1=1.150&r2=1.151)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-04-19 21:50:09 pgsql: Rethink the idea of having plpgsql depend on parser/gram.h.
Previous Message Tom Lane 2009-04-19 20:36:13 pgsql: Fix textsearch documentation examples to not recommend