The following bug has been logged online: Bug reference: 5499 Logged by: Curtis Stecke Email address: cstecke@interlegis.com PostgreSQL version: 8.4 Operating system: Windows Xp Description: SQL syntax bug Details: Inserting text that starts with or ends with a dollar sign ($) is impossible. Documentation is not clear on how to do this as well.
"Curtis Stecke" <cstecke@interlegis.com> wrote:
> Inserting text that starts with or ends with a dollar sign ($) is
> impossible. Documentation is not clear on how to do this as well.
Works for me. Care to give an example of your problem?
test=# create table t1 (c1 text);
CREATE TABLE
test=# insert into t1 values ('$sometext');
INSERT 0 1
test=# insert into t1 values ('sometext$');
INSERT 0 1
test=# insert into t1 values ('$sometext$');
INSERT 0 1
test=# select * from t1;
c1
------------
$sometext
sometext$
$sometext$
(3 rows)
-Kevin
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера