pg.ddx.io pgsql-sql@postgresql.org mailing list archivehelp / color / mirror / Atom feed
`~' operator and indices 2+ messages / 2 participants [nested] [flat]
* `~' operator and indices @ 2000-12-20 18:38 Artur Rataj <arataj@iitis.gliwice.pl> 2000-12-21 00:22 ` Re: `~' operator and indices Jie Liang <jliang@jliang.ipinc.com> 0 siblings, 1 reply; 2+ messages in thread From: Artur Rataj @ 2000-12-20 18:38 UTC (permalink / raw) To: pgsql-sql Hello, I would like to ask you why do `~' gives the following results, if there is an index on `string': select string from indextbk_fti_fkey where string ~ '^IE'; string -------- (0 rows) select string from indextbk_fti_fkey where string ~ '^IECIA'; string -------- IECIA (1 row) `E' here is a polish letter. I have set locale to `pl_PL' before starting postgres. Best regards Artur Rataj ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: `~' operator and indices 2000-12-20 18:38 `~' operator and indices Artur Rataj <arataj@iitis.gliwice.pl> @ 2000-12-21 00:22 ` Jie Liang <jliang@jliang.ipinc.com> 0 siblings, 0 replies; 2+ messages in thread From: Jie Liang @ 2000-12-21 00:22 UTC (permalink / raw) To: Artur Rataj <arataj@iitis.gliwice.pl>; +Cc: pgsql-sql Hi, there, Jie LIANG Internet Products Inc. 10350 Science Center Drive Suite 100, San Diego, CA 92121 Office:(858)320-4873 jliang@ipinc.com www.ipinc.com On Wed, 20 Dec 2000, Artur Rataj wrote: > Hello, > > I would like to ask you why do `~' gives the following results, > if there is an index on `string': > > select string from indextbk_fti_fkey where string ~ '^IE'; ===> try this: where string ~ '^IE.*'; > string > -------- > (0 rows) > > select string from indextbk_fti_fkey where string ~ '^IECIA'; > string > -------- > IECIA > (1 row) > > `E' here is a polish letter. I have set locale to `pl_PL' before > starting postgres. > > Best regards > > Artur Rataj > > ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-12-21 00:22 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2000-12-20 18:38 `~' operator and indices Artur Rataj <arataj@iitis.gliwice.pl> 2000-12-21 00:22 ` Jie Liang <jliang@jliang.ipinc.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox