Perform post-escaping encoding validity checks on SQL literals and COPY input
Andrew Dunstan <andrew@dunslane.net>
Perform post-escaping encoding validity checks on SQL literals and COPY input so that invalidly encoded data cannot enter the database by these means.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/copy.c | modified | +17 −2 |
| src/backend/parser/scan.l | modified | +21 −1 |