Re: Identifying Reason for Column Name Returned by SELECT - Mailing list pgsql-general

From Richard Broersma
Subject Re: Identifying Reason for Column Name Returned by SELECT
Date
Msg-id CABvLTWGhUCTnv6bEg0BcYGdnmzLBz9bWZsO25Excn=v=LZfG4A@mail.gmail.com
Whole thread Raw
In response to Re: Identifying Reason for Column Name Returned by SELECT  (Steve Crawford <scrawford@pinpointresearch.com>)
List 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 by date:

Previous
From: Robert Treat
Date:
Subject: Re: PostgreSQL benchmarked on XFS vs ZFS vs btrfs vs ext4
Next
From: Darren Duncan
Date:
Subject: Re: Identifying Reason for Column Name Returned by SELECT