| От | Ken Corey |
|---|---|
| Тема | Re: Re: Yikes! Bitten by line length? |
| Дата | |
| Msg-id | 3A677899.D0AC1392@kencorey.com обсуждение исходный текст |
| Ответ на | Yikes! Bitten by line length? (Ken Corey <ken@kencorey.com>) |
| Список | pgsql-novice |
Ian Lance Taylor wrote: > I very much doubt it is the fgets function. > > I suspect it is the terminal driver. The terminal driver only hands > data back to the application when it sees a newline. It probably only > holds 256 characters. > > Try using an editor to create a file with a line longer than 256 > characters, and run `test < file', to see whether it is fgets or the > terminal driver. You're exactly on the money. Thanks. Where were you this morning? *smile* Since a partiularly long SQL query was the first time I'd seen this kind of a problem (and others might see it), perhaps it still deserves a paragraph in the FAQ, even though it has *nothing* to do with postgreSQL directly? -Ken
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера