| От | Joep deVocht |
|---|---|
| Тема | Reset? |
| Дата | |
| Msg-id | 3C90E638.A4E99102@masktools.com обсуждение |
| Ответы |
Re: Reset?
|
| Список | pgsql-interfaces |
Hi, I'm using Postgres 7.1 with the C++ interface and am facing the following problem. I notice that when I send a invalid query to the dbase server using "Exec" (For instance when trying to put an integer value into the table that is too large) that the next Exec fails with a segmentation fault. I know it's possible to "reset" the connection or something similar, so that after an invalid query, new queries can be sent without problems. I know this because "psql" is able to. Problem is that I can't seem to figure out how they do it. Can anyone help me with this? Many thanx in advance, Joep.
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера