Perform post-escaping encoding validity checks on SQL literals and COPY input
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 12 Sep 2007 20:49:27 +0000 (20:49 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 12 Sep 2007 20:49:27 +0000 (20:49 +0000)
commit4910c3ae383fe250a2a58a8fc918daae58eb9c76
treef938394cb3294be405dbbfbd9fa11f8df8a0f0de
parent5c0e4e164c86a81162dca723841ac690e5125c56
Perform post-escaping encoding validity checks on SQL literals and COPY input
so that invalidly encoded data cannot enter the database by these means.
src/backend/commands/copy.c
src/backend/parser/scan.l