Re: Text data type doesn't accept newlines?

Поиск
Список
Период
Сортировка
От Gordan Bobic
Тема Re: Text data type doesn't accept newlines?
Дата
Msg-id 000201c0ee5e$94504940$800010ac@localdomain
обсуждение исходный текст
Ответ на Re: Text data type doesn't accept newlines?  (Randall Perry <rgp@systame.com>)
Ответы Re: Text data type doesn't accept newlines?  (Randall Perry <rgp@systame.com>)
Список pgsql-general
Are you using the "quote" function? You have to use it if you are to
guarantee that the data will be acceptable as "input".

$myVar = $myDB -> quote ($myVar)


> I'm using the Pg perl interface. But, think my problem was that I
had
> unescaped single quotes in the string. Added the following to my
code to
> escape them and it works now:
>
>     $self->{errors} =~ s"'"\\'"g;        # escape single quotes




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

Предыдущее
От: Feite Brekeveld
Дата:
Сообщение: Re: Database Size
Следующее
От: Mathieu Arnold
Дата:
Сообщение: pg_dump problem