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.96) (envelope-from ) id 1vNzvx-0059rA-0m for pgsql-general@arkaria.postgresql.org; Tue, 25 Nov 2025 20:46:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vNzvu-00BSjA-1N for pgsql-general@arkaria.postgresql.org; Tue, 25 Nov 2025 20:46:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vNzvt-00BSiz-1u for pgsql-general@lists.postgresql.org; Tue, 25 Nov 2025 20:46:42 +0000 Received: from fout-a5-smtp.messagingengine.com ([103.168.172.148]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vNzvr-001SCq-0W for pgsql-general@lists.postgresql.org; Tue, 25 Nov 2025 20:46:40 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 0892DEC03C1; Tue, 25 Nov 2025 15:46:39 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Tue, 25 Nov 2025 15:46:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1764103599; x=1764189999; bh=9Q437Y3zEaRdg1zVmWuYN+4rwp9jtvq4Mmp39YvvRug=; b= N76nWSYZygqpw7JU67AcpQvDs1RNc1ZFY50kDjRoARwviwd/qUP9NbnHLNh1iAFJ aeFUU4UHSB4TlmqQQa6HJwF4mbjIYBdlEBojIzo6DDB9c6PMDiE96wD8DwQl7PJk dtLv7TgftlcpF+4+Fi2z8AQSCVzjibMu+DLgguTecgVXR5jtzqZIq0thlAa8uXJg qAPngsJa2SOnLVAFkQ7kQ2N7tlrc5+K/aBMgjTcF7slB3Vzwt7mu7jLnr8yo1xCE ek2Q3l6I7Si5Sz045I9Q9jmJMNIoQdItv29DwYs2T1jItLkkZyMHF+Owilbi3jXY cBpUF1ZrGI50k5oqHN0Cbg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1764103599; x=1764189999; bh=9 Q437Y3zEaRdg1zVmWuYN+4rwp9jtvq4Mmp39YvvRug=; b=l/v92ui/yrk3XCjx7 LJ3cY+OZeB3VaEpVWCIT0SlVHgoHa+J/X69u1aJtTmpLO9zlf43c6O4yMmMMM2VT msOSCNK+ywDvVgEbgDUVjgM4ksGSlJUZMvt0VpVP1rSAfcKFMx3UNVvgKhZQ9WqN eny2MX7Xzi4sQsu4hGrfgImxl97hf8w9mj/KYniJdB+mKQpxDRPs6MnJuKcySBtZ +cg6rqsPJWmCJkuEgPQE20NAprMbC5Q3ZQjJhU8Z26xAUc4/dbREeXd0t8k6z3bt sDW0Cn3Jpk2iMzaNcufXS1SVLVYfPDOot8n7yxF5DlNwkf1YhkW0LTahU4UgYtv5 UmBbw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvgedvgeejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghn ucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqe enucggtffrrghtthgvrhhnpeffleegieefgfevudehtdfhkeeutdffjeevgeffgeejvedt hefgudeiteefheejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggp rhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehrshhhvghprg hrugesrghpphhlqdgvtghoshihshdrtghomhdprhgtphhtthhopehpghhsqhhlqdhgvghn vghrrghlsehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Nov 2025 15:46:37 -0500 (EST) Message-ID: Date: Tue, 25 Nov 2025 12:46:37 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Selecting all variations of job title in a list To: Rich Shepard , pgsql-general@lists.postgresql.org References: <9172514f-c267-6160-4b2a-7bd4eaf5be4@appl-ecosys.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: <9172514f-c267-6160-4b2a-7bd4eaf5be4@appl-ecosys.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/25/25 11:08, Rich Shepard wrote: > On Tue, 25 Nov 2025, Adrian Klaver wrote: > >> Something like?: >> >> select 'Env mgr.' ilikeĀ  ANY(ARRAY['Asst Gen Mgr.', 'Env Mgr.', 'Gen >> Mgr.', 'Mgr.','Plant Mgr.']); > > Adrian, > > Hadn't thought of this. > > Your, and Ron's, answers taught me that the answer to my question is 'no, > there is no shortcut.' :-) You will need to be clearer about what you want. If it is to fetch titles with Mgr in the name then it would be simple: select * from people_table where title ilike '%mgr%'; If it is something more selective you will need to provide a more detailed example. > > Thanks, > > Rich > > -- Adrian Klaver adrian.klaver@aklaver.com