| От | David Garamond |
|---|---|
| Тема | Re: psql wishlist: value completion |
| Дата | |
| Msg-id | 411DD4F3.1010203@zara.6.isreserved.com обсуждение |
| Ответ на | psql wishlist: value completion (David Garamond <lists@zara.6.isreserved.com>) |
| Список | pgsql-general |
Steve Crawford wrote: >> # delete from person where firstname = 'D<tab><tab> >> Display all 215 possibilities? (y or n) > > Sure it would be cool - but as far as I can tell totally impractical. > > Determining all the possible expandable values for a particular column > could very well require a full-table-scan of a multi-million row > table each time you try to tab-expand. Well, psql could display "Warning: this would require a full-table-scan of a multi-million row table..." or "Warning: there are more than 100 possibilities, continue?" if there are no indexes or the first SELECT ... LIMIT 101 returns 101 rows. -- dave
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера