Skip site navigation (1) Skip section navigation (2)

Re: Simplifying unknown-literal handling

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: andrew(at)supernews(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Simplifying unknown-literal handling
Date: 2005-05-29 19:13:58
Message-ID: 12122.1117394038@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Andrew - Supernews <andrew+nonews(at)supernews(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Andrew - SupernewsDate: 2005-05-29 20:10:23
Subject: Re: Simplifying unknown-literal handling
Previous:From: Tom LaneDate: 2005-05-29 19:10:32
Subject: Re: Escape handling in COPY, strings, psql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group