From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: postgresql order lowercase before uppercase
Date: Thu, 18 Mar 2021 10:44:19 -0500
Message-ID: <b6fbc848-d991-63ff-3d87-2cb33b8edd7c@gmail.com> (raw)
In-Reply-To: <CADX_1aaVzqX0tg=E_B8=vXRz==Rt+066aMtaGRaDLYnWcZ-TyQ@mail.gmail.com>
References: <5a174fad-c30d-6d65-38c8-a3d9af8377df@unix-solution.de>
<SA1PR09MB8688256D52FFB73578A763D0F7699@SA1PR09MB8688.namprd09.prod.outlook.com>
<645e31e2-29aa-68ac-2499-0c93bb380970@unix-solution.de>
<CADX_1aaVzqX0tg=E_B8=vXRz==Rt+066aMtaGRaDLYnWcZ-TyQ@mail.gmail.com>
Exactly. "C" collation is the opposite of what he wants.
OP needs something like "de_DE".
On 3/18/21 10:36 AM, Marc Millas wrote:
> to me, collate 'C' ask for the raw ascii order which put caps before
> because the hexa coding is lower
> did you try any thing else (POSIX is same as 'C')
>
> Marc MILLAS
> Senior Architect
> +33607850334
> www.mokadb.com <http://www.mokadb.com;
>
>
>
> On Thu, Mar 18, 2021 at 4:18 PM basti <mailinglist@unix-solution.de
> <mailto:mailinglist@unix-solution.de>> wrote:
>
> This does not help in that case.
>
> On 18.03.21 15:45, Basques, Bob (CI-StPaul) wrote:
> > Maybe check out using the UPPER/LOWER/INITCAP functions in the
> order by clause?
> >
> > Bobb
> >
> >
> >
> >> -----Original Message-----
> >> From: basti <mailinglist@unix-solution.de
> <mailto:mailinglist@unix-solution.de>>
> >> Sent: Thursday, March 18, 2021 9:40 AM
> >> To: pgsql-general@postgresql.org <mailto:pgsql-general@postgresql.org>
> >> Subject: postgresql order lowercase before uppercase
> >>
> >> Think Before You Click: This email originated outside our organization.
> >>
> >>
> >> Hello,
> >> I need to as follow:
> >>
> >> ande
> >> Amma
> >> Anit
> >> Anti
> >> Brac
> >> Cali
> >> ....
> >>
> >> I have try ORDER by name COLLATE 'C';
> >>
> >> but this order as follow:
> >>
> >> Amma
> >> Anit
> >> Anti
> >> Brac
> >> Cali
> >> ....
> >> ande
> >>
> >> Best Regards
> >>
> >
>
>
--
Angular momentum makes the world go 'round.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: postgresql order lowercase before uppercase
In-Reply-To: <b6fbc848-d991-63ff-3d87-2cb33b8edd7c@gmail.com>
References: <5a174fad-c30d-6d65-38c8-a3d9af8377df@unix-solution.de> <SA1PR09MB8688256D52FFB73578A763D0F7699@SA1PR09MB8688.namprd09.prod.outlook.com> <645e31e2-29aa-68ac-2499-0c93bb380970@unix-solution.de> <CADX_1aaVzqX0tg=E_B8=vXRz==Rt+066aMtaGRaDLYnWcZ-TyQ@mail.gmail.com> <b6fbc848-d991-63ff-3d87-2cb33b8edd7c@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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