[EMAIL PROTECTED] writes:
> When inserting '\' the insert fails.
Your examples work fine for me:
regression=# create table t3 (tt text, date timestamp);
CREATE
regression=# INSERT INTO t3 ( tt,date )
regression-# VALUES ( 'aaaaaaa ''\\'' bbbbbbbb','2000-10-30 21:18:05' );
INSERT 5814810 1
regression=# INSERT INTO t3 ( tt,date )
regression-# VALUES ( 'eqwehqw ''\\'' dsdsa','2000-10-30') ;
INSERT 5814811 1
regression=# select * from t3;
tt | date
----------------------+------------------------
aaaaaaa '\' bbbbbbbb | 2000-10-30 21:18:05-05
eqwehqw '\' dsdsa | 2000-10-30 00:00:00-05
(2 rows)
I suspect the problem is somewhere in your application code. You might
try turning on query logging at the postmaster to see what's actually
being transmitted to the backend by the application.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster