ECPG fetch broken after upgrade to 6.5
От | Phil Moors |
---|---|
Тема | ECPG fetch broken after upgrade to 6.5 |
Дата | |
Msg-id | 37716515.9D251162@phillips.com обсуждение исходный текст |
Ответы |
Re: [INTERFACES] ECPG fetch broken after upgrade to 6.5
Re: [INTERFACES] ECPG fetch broken after upgrade to 6.5 Re: [INTERFACES] ECPG fetch broken after upgrade to 6.5 |
Список | pgsql-interfaces |
Hi! Has anyone else had this problem? I have two programs that ECPG processes flawlessly under 6.4. However, under 6.5, I get: ml1.sql:364: parse error line 364 is: EXEC SQL FETCH pick_ip INTO :tWatMacAddress; Also of note: One of my programs contained no SQL code. However, I tend to run it through ecpg out of habit. The old version would (correctly) leave things alone. However, the new version grabs double slashes, even if they are embedded in within double quotes. It turned these two lines: printf("<FORM METHOD=POST ACTION=\"http://pm2/cgi-bin/macs/ml1\">\n"); printf("Select the type of address, enterit into the form and \n"); Into this (all one line): printf("<FORM METHOD=POST ACTION=\"http: printf("Select the type of address, enter it into the form and \n"); TIA Phil -- pmoors@phillips.com | Speaking for himself only. -------------------------------------------------------- cat /dev/coffee | /dev/cup | /dev/mouth | /dev/nose > /dev/keyboard
В списке pgsql-interfaces по дате отправления: