Re: How to escape apostrophes when apostrophes already used to escape something else

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: How to escape apostrophes when apostrophes already used to escape something else
Дата
Msg-id 20100205144534.GE5407@samason.me.uk
обсуждение исходный текст
Ответ на How to escape apostrophes when apostrophes already used to escape something else  (Stefan Schwarzer <stefan.schwarzer@grid.unep.ch>)
Список pgsql-general
On Fri, Feb 05, 2010 at 10:13:21AM +0100, Stefan Schwarzer wrote:
> probably not too complicated, but although googling my way through
> many pages, I don't find the solution.
>
> I have a query which uses already an apostrophe to escape something
> else:

Not sure if "dollar quoting" may be easier for you here.  Have a look
at:

 http://www.postgresql.org/docs/current/static/sql-syntax-lexical.html#SQL-SYNTAX-DOLLAR-QUOTING

--
  Sam  http://samason.me.uk/

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

Предыдущее
От: manugarciac
Дата:
Сообщение: Idle in Transaction
Следующее
От: RW
Дата:
Сообщение: Re: Idle in Transaction