Tue May 13 14:40:30 PDT 2008
- Previous message: [Slony1-commit] slony1-engine/doc/adminguide firstdb.sgml
- Next message: [Slony1-commit] slony1-engine/src/slony_logshipper scan.l
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/slony_logshipper In directory main.slony.info:/tmp/cvs-serv17996 Modified Files: Tag: REL_1_2_STABLE scan.l Log Message: Per bug #49 - reported by Richard Yen <dba at richyen.com> Seems like double single-quotes and slashes are begin converted to single single-quotes and slashes when not desired: ERROR 2008-04-24 16:17:32 > PGRES_FATAL_ERROR: ERROR: syntax error at or near "Cahier" LINE 1: ..._count, compare_to_database) values ('1969048', ''Cahier d'u... ^ Query was: insert into "public"."m_object_paper" (id, title, x_firstname, x_lastname, char_length, word_count, grade, grade_note, overwriteflag, is_indexed, folder, "assignment", "owner", node, page_count, compare_to_database) values ('1969048', ''Cahier d'un retour au pays natal' is prinicpally defined by violence. Discuss', 'Charlotte', 'Byrne', '10937', '1689', NULL, NULL, 't', 'f', '0', '88981', '445800', '2', NULL, '1000100000000000000000100000000000101'); WARN 2008-04-24 16:17:32 > waiting for resume My fix for this was in scan.l:175 + *cp++ = c; *cp++ = c; + len += 2; - len++; Similar changes at lines 191, 244, and 260 Index: scan.l =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/src/slony_logshipper/scan.l,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** scan.l 8 Sep 2007 14:21:40 -0000 1.1.2.1 --- scan.l 13 May 2008 21:40:28 -0000 1.1.2.2 *************** *** 174,178 **** } *cp++ = c; ! len++; continue; } --- 174,178 ---- } *cp++ = c; ! len+=2; continue; } *************** *** 190,194 **** { *cp++ = c; ! len++; continue; } --- 190,194 ---- { *cp++ = c; ! len+=2; continue; } *************** *** 243,247 **** } *cp++ = c; ! len++; continue; } --- 243,247 ---- } *cp++ = c; ! len+=2; continue; } *************** *** 259,263 **** { *cp++ = c; ! len++; continue; } --- 259,263 ---- { *cp++ = c; ! len+=2; continue; }
- Previous message: [Slony1-commit] slony1-engine/doc/adminguide firstdb.sgml
- Next message: [Slony1-commit] slony1-engine/src/slony_logshipper scan.l
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list