| От | ljb |
|---|---|
| Тема | Re: pg_select in a tcl script |
| Дата | |
| Msg-id | a5pc7g$be7$1@jupiter.hub.org обсуждение исходный текст |
| Ответ на | pg_select in a tcl script (Steve Burger <steve@customware.aust.com>) |
| Список | pgsql-interfaces |
steve@customware.aust.com wrote: > Hi > > The documentation for pg_select says that "the return result is either > an error message or a handle for a query result". > > How can I catch this output? and How do I determine if it is an error or > a handle? > > I have tried > > set res [pg_select ...] > pg_result res -status > complains that res is not a result handle, it seems to be a null value. No result handle is returned. pg_select creates, uses, and then destroys the result structure before it returns. Where in the documentation did you see the above quote?
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера