Re: Re: Toast,bytea, Text -blob all confusing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Toast,bytea, Text -blob all confusing
Дата
Msg-id 11817.999558491@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: Re: Toast,bytea, Text -blob all confusing  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
Список pgsql-hackers
"Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at> writes:
> I think actually the backend parser has no business changing
> constants, he is imho only allowed to parse it, so he knows 
> where a constant begins, and where it ends.    

How do you propose to handle embedded quote marks in literals,
if there is no parser-level escape convention?

Don't suggest a type-specific escape convention; at the time the
parser runs, it's impossible to know what type the literal will
turn out to be.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Re: Escaping strings for inclusion into SQL queries
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: Escaping strings for inclusion into SQL queries