Opened 17 years ago

Closed 14 years ago

Last modified 7 years ago

#57 closed task (wontfix)

Backslash escaping in PostgreSQL avoids import in MySQL

Reported by: christoph Owned by: astrid
Priority: minor Milestone:
Component: database Version: 2.4.2 rc1
Keywords: Cc: astrid_emde

Description

When a string contains a backslash, PostgreSQL escapes the string by "E":

example

E'<select id=
style
name=
style
> <option value=
0
>...</option> <option value=
1
>thin</option> <option value=
2
>medium</option> <option value=
3
>thick</option> </select>', 1, 1);

The issue is discussed here:

http://archives.postgresql.org/pgsql-hackers/2005-05/msg01525.php

Maybe we need to make sure to insert only double quotes (") and no escaped single quotes (\')

Change History (6)

comment:2 by christoph, 17 years ago

Version: 2.4.22.4.2 rc1

comment:3 by christoph, 17 years ago

Type: defecttask

comment:4 by christoph, 16 years ago

Cc: astrid_emde added
Milestone: 3.0 release

comment:5 by tbaschetti, 14 years ago

Resolution: wontfix
Status: newclosed

mysql-support is dropped, so no need for this functionality

comment:6 by astrid_emde, 7 years ago

Milestone: 3.0 release

Ticket retargeted after milestone deleted

Note: See TracTickets for help on using tickets.