View Single Post

   
  #5 (permalink)  
Old 04-11-2008, 04:06 AM
Tom Lane
 
Posts: n/a
Default Re: Simplifying unknown-literal handling

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

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

Reply With Quote