Re: Simplifying unknown-literal handling - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Simplifying unknown-literal handling
Date
Msg-id 12122.1117394038@sss.pgh.pa.us
Whole thread Raw
In response to Re: Simplifying unknown-literal handling  (Andrew - Supernews <andrew+nonews@supernews.com>)
List pgsql-hackers
Andrew - Supernews <andrew+nonews@supernews.com> writes:
> Are there any cases where UNKNOWN can be received from the frontend as
> a binary value? I suspect there are.

Sure, but that's transparent because we have binary I/O converters.
You will have trouble if you try to inject an embedded zero that way,
but the end result will look about the same as when you try to inject
an embedded zero now: the data after the zero will be dropped on readout.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Escape handling in COPY, strings, psql
Next
From: Andrew - Supernews
Date:
Subject: Re: Simplifying unknown-literal handling