How to select by proximity - Mailing list pgsql-novice

From Francisco Leovey
Subject How to select by proximity
Date
Msg-id 1337018449.10244.YahooMailNeo@web39304.mail.mud.yahoo.com
Whole thread Raw
Responses Re: How to select by proximity
List pgsql-novice
Hello group
 
I have a large table indexed by a varchar column
I would like to select records that are around the hit value, say "Marriot" by index order
How can I retrieve the prior and next in order?
Is there a goto "Marriot" and then a goto +1 and goto -1 SQL facility?

pgsql-novice by date:

Previous
From: Steve Crawford
Date:
Subject: Re: Unwanted time zone conversion
Next
From: Postgres
Date:
Subject: Re: How to select by proximity