Re: psql wishlist: value completion

Поиск
Список
Период
Сортировка
Искать
От
Steve Crawford
Тема
Re: psql wishlist: value completion
Дата
Msg-id
200408131427.10766.scrawford@pinpointresearch.com
Ответ на
Список
Дерево обсуждения
psql wishlist: value completion David Garamond <lists@zara.6.isreserved.com>
Re: psql wishlist: value completion Steve Crawford <scrawford@pinpointresearch.com>
Re: [ok] Re: psql wishlist: value completion j0rd1 adame <jordi@jordi.net>
Re: psql wishlist: value completion Gaetano Mendola <mendola@bigfoot.com>
On Friday 13 August 2004 12:18 pm, David Garamond wrote:
> Wouldn't it be cool if someday psql could do value completion?
>
>   # delete from person where lastname = 'Garam
>   # delete from person where lastname = 'Garamond' _
>
>   # delete from person where firstname = 'Da
>   # delete from person where firstname = 'Da
>   Damian  Darren  Dave    David    Dawson
>
>   # delete from person where firstname = 'D
>   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. Not only would performance be 
terrible but get a few users doing this and you could really hammer 
the server.

Cheers,
Steve

В списке pgsql-general по дате отправления
От: gnari
Дата:
Сообщение: Re: Autoincremental value
От: Tom Allison
Дата:
FAQ