Re: Re: Toast,bytea, Text -blob all confusing - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Re: Toast,bytea, Text -blob all confusing
Date
Msg-id 24943.999579135@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: Toast,bytea, Text -blob all confusing  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Re: Toast,bytea, Text -blob all confusing
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bytea/Base64 encoders for libpq - interested?
Next
From: "Joe Conway"
Date:
Subject: Re: Bytea/Base64 encoders for libpq - interested?