pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedcase and accent insensitive search under Python ?
2+ messages / 2 participants
[nested] [flat]
* case and accent insensitive search under Python ?
@ 2023-08-19 07:25 M4X <77M1C@gmx.com>
0 siblings, 1 reply; 2+ messages in thread
From: M4X @ 2023-08-19 07:25 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
Hi,
I'm considering to migrate to postgresql... ( still examining the pro/con )
It seem that is possible to make a search that is case and accent
insensitive.
|I've dig https://www.postgresql.org/docs/current/textsearch-intro.html
and other resources,|
|but I didn't find yet an example that demonstrate it. (from Python
would be even better :) )
Just to see if it's easy to implement.
|
|Thanks.|
|Max
|
|
|
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: case and accent insensitive search under Python ?
@ 2023-08-19 13:35 Tom Lane <tgl@sss.pgh.pa.us>
parent: M4X <77M1C@gmx.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2023-08-19 13:35 UTC (permalink / raw)
To: M4X <77M1C@gmx.com>; +Cc: pgsql-general@lists.postgresql.org
M4X <77M1C@gmx.com> writes:
> It seem that is possible to make a search that is case and accent
> insensitive.
> |I've dig https://www.postgresql.org/docs/current/textsearch-intro.html
> and other resources,|
> |but I didn't find yet an example that demonstrate it.
The text search functionality is already case-insensitive, but not
accent-insensitive (at least in the common built-in configurations).
To make it accent-insensitive, you can set up a custom configuration
using the "unaccent" module. See
https://www.postgresql.org/docs/current/unaccent.html
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2023-08-19 13:35 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-08-19 07:25 case and accent insensitive search under Python ? M4X <77M1C@gmx.com>
2023-08-19 13:35 ` Tom Lane <tgl@sss.pgh.pa.us>
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