Re: Identifying Reason for Column Name Returned by SELECT

Поиск
Список
Период
Сортировка
От Richard Broersma
Тема Re: Identifying Reason for Column Name Returned by SELECT
Дата
Msg-id CABvLTWGhUCTnv6bEg0BcYGdnmzLBz9bWZsO25Excn=v=LZfG4A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Identifying Reason for Column Name Returned by SELECT  (Steve Crawford <scrawford@pinpointresearch.com>)
Список pgsql-general
On Wed, Sep 14, 2011 at 9:42 AM, Steve Crawford
<scrawford@pinpointresearch.com> wrote:

> I suspect you have a multi-line entry and the '+' is just indicating that
> the field continues.
>
> Try ...where site_id ~ 'GW-22'... (this may take a while if the table is
> very large).

You might be able to get an index scan if you include a few more criteria:

AND site_id BETWEEN 'GW-22' AND 'GW-23'

Also WHERE site_id '^GW-22' may use and index scan also.



--
Regards,
Richard Broersma Jr.

В списке pgsql-general по дате отправления:

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: PostgreSQL benchmarked on XFS vs ZFS vs btrfs vs ext4
Следующее
От: Darren Duncan
Дата:
Сообщение: Re: Identifying Reason for Column Name Returned by SELECT