| От | Peter Eisentraut |
|---|---|
| Тема | Re: PL/Python result object str handler |
| Дата | |
| Msg-id | 50EC8E4E.5050808@gmx.net обсуждение исходный текст |
| Ответ на | Re: PL/Python result object str handler (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: PL/Python result object str handler
|
| Список | pgsql-hackers |
On 1/8/13 4:32 AM, Magnus Hagander wrote: > How does it work if there are many rows in there? Say the result > contains 10,000 rows - will the string contain all of them? If so, > might it be worthwhile to cap the number of rows shown and then follow > with a "..." or something? I don't think so. Any number you pick will be too low for someone. Since this would only be executed when explicitly asked for, it's up to the user to manage this. It's analogous to print(long_list) -- you wouldn't truncate that.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера