Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> However, there's a trap: before things get to bytea input handler, they
> are first processed by postgresql general parser.
This description fails to make clear that the two levels of parsing only
apply for datums that are written as string literals in SQL commands.
An example where this doesn't apply is COPY input data.
regards, tom lane