| От | lbayuk@mindspring.com (ljb) |
|---|---|
| Тема | Re: copy to/from stdout using libpgtcl |
| Дата | |
| Msg-id | 9l7a1p$jm$1@news.tht.net обсуждение исходный текст |
| Ответ на | Re: copy to/from stdout using libpgtcl (lbayuk@mindspring.com (ljb)) |
| Список | pgsql-general |
g.hintermayer@inode.at wrote: >... >> PS It's the absence of PgWatchProc which kills it. I didn't upgrade it >> to the "V2" channel type structure, so it should be compatible with older >> Tcl's. But aside from gets and puts, I doubt any other file operations >> would work on the handle during a copy. > >I'd expect also eof to work, and fileevent readable/writable. eof is probably OK, except that once the copy is over the channel becomes unreadable, so you probably only get one shot at [eof]. fileevent is really iffy. Probably no, since watchProc is just dummy procedure and I think it is needed to make event notification work.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера