Re: Escaped Characters (Quotes, etc...)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Escaped Characters (Quotes, etc...)
Дата
Msg-id 8787.1117144364@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Escaped Characters (Quotes, etc...)  (<operationsengineer1@yahoo.com>)
Список pgsql-novice
<operationsengineer1@yahoo.com> writes:
> when i run a pgadmin3 query and select * from a table,
> shouldn't the " mark appear like this : \" ?

No, what for?

You have to escape quotes that are going to be put into a string literal
in a SQL command string.  But data coming out of the server is not in a
SQL command string and so it doesn't need that layer of quoting.

            regards, tom lane

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

Предыдущее
От: "Sugrue, Sean"
Дата:
Сообщение: Explain
Следующее
От: "David Sadler"
Дата:
Сообщение: Re: ERROR: relation "default_cols" does not exist