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 1vO07t-005JUN-1V for pgsql-general@arkaria.postgresql.org; Tue, 25 Nov 2025 20:59:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vO07r-00BcRj-2A for pgsql-general@arkaria.postgresql.org; Tue, 25 Nov 2025 20:59:03 +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.96) (envelope-from ) id 1vO07r-00BcRa-16 for pgsql-general@lists.postgresql.org; Tue, 25 Nov 2025 20:59:03 +0000 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vO07p-001UL2-0r for pgsql-general@lists.postgresql.org; Tue, 25 Nov 2025 20:59:03 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id DBC8F14001DC; Tue, 25 Nov 2025 15:58:59 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Tue, 25 Nov 2025 15:58:59 -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=1764104339; x=1764190739; bh=20QwMB/D+q06RBOoIYJVZu6FTXlazjFlvxi/OQRgBaA=; b= AU0kMv5udBqLKL8dJjK5JG0MhiIhd1RweHvFZUg8eTHbVYOaOu3GaX5WlD8aAnBC TTHFZRI1sgVG1VH4dli7Hbs6uOOhEg1EZMDvaHPMt9kxpPrXYJLR/f0FpVWDir+p 2/sJL72XbOYBgA1dJ0BRcpPfoiFFP1NVC2SEhbdW79c1+09sv2z0hVYL71VRw1Ft JAULMQbY83TMRjhhetWgI4k4XVAfZHL2VfB+dQK2otKUg6jIjohQ3Yj7H8SXxmuQ povBPOq6XXM/UbSSenC3PnmCzDLj1y79NA4gyZeFZoBBjd6wcirPDbPuwhYi3Q4o IiYdke/6xvXeLQXLYwMMVQ== 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=1764104339; x=1764190739; bh=2 0QwMB/D+q06RBOoIYJVZu6FTXlazjFlvxi/OQRgBaA=; b=XMl2Q7BE0RLLwZ76y h/shewqorV+NR/dUnQj5pWNnd5neQk3cWZBr44p5AcmHmtdqVUolqUYjHW1vMLGC IZCco8XQON67chlph6rclLNIncZzX1pt6ZDWwtdV8AG7BLUOfJi+VMsWmm9wErnn EMTc/l21ulJSqHcl8xt2qP8BDf8Smal/spPRdfugGSyezHPZRbN+QVVhx84AsIpl kGgXapQrv5WDxn8/fvxFKxfC8t4DJ9ChKKGsJi1Md3yroOrHLakBEYVBr3QKJXPp gTMPOdDTmKk7C9sr/0P5CMU6+D6m/c2emcOGH+Ykms6AFE44AS/MdTQgod3qmQl0 1rZRg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvgedvgeelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheptegurhhirghn ucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqe enucggtffrrghtthgvrhhnpeeivdfhieehheegueeileejieettdejhedugeefleekvdel keehtdfgiefffeekudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggp rhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehrshhhvghprg hrugesrghpphhlqdgvtghoshihshdrtghomhdprhgtphhtthhopehpghhsqhhlqdhgvghn vghrrghlsehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Nov 2025 15:58:59 -0500 (EST) Message-ID: <58262f76-d5c1-4c3a-9560-ca7f43a2f83c@aklaver.com> Date: Tue, 25 Nov 2025 12:58:58 -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> <1f9412d8-2e66-b037-127e-872464bd65cc@appl-ecosys.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: <1f9412d8-2e66-b037-127e-872464bd65cc@appl-ecosys.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/25/25 12:53, Rich Shepard wrote: > On Tue, 25 Nov 2025, Adrian Klaver wrote: > >> 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. > > Adrian, > > I thought my example was clear: there are modifiers to job titles such as > 'Manager,' 'Vice President,' 'Engineer.' That's why I asked if the > `like/ilike' modifier would work in a list passed to the `in' command. So what are you searching on, the title, the modifier or both? > > Rich > > -- Adrian Klaver adrian.klaver@aklaver.com