| От | Tom Lane |
|---|---|
| Тема | Re: errors when there is a bit literal in ecpg |
| Дата | |
| Msg-id | 1753027.1604779542@sss.pgh.pa.us обсуждение |
| Ответ на | errors when there is a bit literal in ecpg ("Wang, Shenhao" <wangsh.fnst@cn.fujitsu.com>) |
| Список | pgsql-hackers |
"Wang, Shenhao" <wangsh.fnst@cn.fujitsu.com> writes:
> I met an error as below when I use ecpg
> a.pgc:5: ERROR: invalid bit string literal
> a.pgc:5: ERROR: internal error: unreachable state; please report this to <pgsql-bugs@lists.postgresql.org>
Indeed. This has apparently been broken for a very long time (though
the "unreachable state" part is fairly new).
> I try to fix this bug by deleting 'addlitchar('b');' from source I also add a test case to test all const str in
ecpg.
I thought that a whole new test case was overkill when we could just add a
couple of lines to an existing test. Other than that, looks good, pushed.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера