From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | mips(at)mips(dot)com, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: When inserting '\' the insert fails. |
Date: | 2001-07-21 22:18:27 |
Message-ID: | 24542.995753907@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
pgsql-bugs(at)postgresql(dot)org 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
From | Date | Subject | |
---|---|---|---|
Next Message | eCommerce Software Solutions Inc. | 2001-07-22 04:15:45 | Leaking Handles in Postgres 7.1.2 on Cygwin dll 1.3.2 on Win 2000 |
Previous Message | pgsql-bugs | 2001-07-21 21:01:02 | When inserting '\' the insert fails. |