Re: Simplifying unknown-literal handling

Поиск
Список
Период
Сортировка
От Andrew - Supernews
Тема Re: Simplifying unknown-literal handling
Дата
Msg-id slrnd9k2df.1d3v.andrew+nonews@trinity.supernews.net
обсуждение исходный текст
Ответ на Simplifying unknown-literal handling  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Simplifying unknown-literal handling  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2005-05-29, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Alvaro Herrera <alvherre@surnet.cl> writes:
>> On Sun, May 29, 2005 at 11:47:18AM -0400, Tom Lane wrote:
>>> Anyone see a reason not to change this?
>
>> Is there any way we use UNKNOWN to represent bytea literals?
>> Say, comparing a untyped literal to a bytea column?
>
> We use UNKNOWN to represent the raw string literal before we've
> figured out that we need to feed it to byteain.  There aren't
> going to be any embedded nulls at that point, if that's what
> you are wondering.

Are there any cases where UNKNOWN can be received from the frontend as
a binary value? I suspect there are.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Escape handling in COPY, strings, psql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Escape handling in COPY, strings, psql