Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r9VHZ-0006lo-MI for pgsql-sql@arkaria.postgresql.org; Sat, 02 Dec 2023 19:04:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r9VHY-00BCXI-7D for pgsql-sql@arkaria.postgresql.org; Sat, 02 Dec 2023 19:04:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r9VHX-00BCXA-QU for pgsql-sql@lists.postgresql.org; Sat, 02 Dec 2023 19:04:03 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1r9VHS-009lRE-9v for pgsql-sql@lists.postgresql.org; Sat, 02 Dec 2023 19:04:02 +0000 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-54bf9a54fe3so4169176a12.3 for ; Sat, 02 Dec 2023 11:03:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gisticinc-com.20230601.gappssmtp.com; s=20230601; t=1701543837; x=1702148637; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=eDJMeL09DyFTuLXYhP/9ZD4kLWTnwMDqsuqtIFQMNck=; b=gacfxgl3y7ax7ZXOdS3qlp9bQm0xpIoDZdi8oZB8Ryf2VCZW+aOn3ORI+sS5UBKGMP a0Ni+ipP7q2t1nG+yjuMb+dAaPjob4+MvjOlt50DsFr89iLYOal9xu1SQM06gnr6o6ba yGXiH2BbQ2e/bN1FmmlHnGrPdjgEo1ih1ARnDLtChz2p3NLj/9EKDUtAMcLKqijFOI0M k9Cjigi9e9aClVdlXsOFtzYQg2F7g3/HvikpyVzt/bov6nXgckKnXy6KDs1fwhURUPPK 2WEnJ287IwCdpqk5bILnxH0Bn3n7SaJVa9ENigWwb/2CEVyiMOiPFx9TsTy3U6lxKs2x kfIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701543837; x=1702148637; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eDJMeL09DyFTuLXYhP/9ZD4kLWTnwMDqsuqtIFQMNck=; b=jzfFVWwpSuUCuq6fx61k1+ow4vLZSQC0wwXv+gLbJm8aClOaNSKVhaPgPG4VBoj153 UsYMHXqGAd6CXfgNJuWzr/xoDR7Co5DkeAPanZgXXPlOL74bKvtjC8jwNeQr8e7sGjo0 DmmLbdDgH9n7UIJPht5sP/5lFUpDz2fZ2meAvuORcxOXEDI9og5A2CgBjMJZ69of0zsq vek1NG7p5ChgxHqlzvVF71V1vmZQYuUoxuVXq4O33rtC+2Ul9j/54qeyVaNz7gP/MrZX jo+HWwCnib5xfBZu+94UaGQQ7THvjydLgUjL1PZpVY8OziJUXw3pZ4/OvnEYmkqumnkM fy1w== X-Gm-Message-State: AOJu0Yw71krGwy5eYuPRdJucZogTpPz5BdcH2GmLtOPCI5/IxOeT6XpW cW9tvWrB1wK2dMntA/V13u72hltetkmEei/kXg6OdCwKcZEOYnTW X-Google-Smtp-Source: AGHT+IGPC2PvMIa1szskufZ27Z6xq1scfJWfY3Kbjzk0E57ifI3unSsqfq07dfdJdwrjt7n/CTUkWAcKH9Mm4dgleHI= X-Received: by 2002:a17:906:14e:b0:a19:a1ba:8cfb with SMTP id 14-20020a170906014e00b00a19a1ba8cfbmr2062469ejh.153.1701543836641; Sat, 02 Dec 2023 11:03:56 -0800 (PST) MIME-Version: 1.0 From: Bo Guo Date: Sat, 2 Dec 2023 12:03:45 -0700 Message-ID: Subject: Overcoming Initcap Function limitations? To: pgsql-sql@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000f3fc88060b8b8bac" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000f3fc88060b8b8bac Content-Type: text/plain; charset="UTF-8" Hi there, The Initcap function does not have the option to support the title casing where articles/prepositions are left in lowercase. Neither does it handle cultural names such as "MacDonald." Please kindly advise any options we may have. Cheers, Bo --000000000000f3fc88060b8b8bac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi there,
The Initcap function does not have the option to support the ti= tle casing where articles/prepositions are left in lowercase. Neither does = it handle cultural names such as "MacDonald."=C2=A0

Please kindly advise any options we may have.
Cheers,

Bo
--000000000000f3fc88060b8b8bac--