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 1r1y5W-00EV8l-9J for pgsql-general@arkaria.postgresql.org; Sun, 12 Nov 2023 00:12:30 +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 1r1y5U-008ffG-7T for pgsql-general@arkaria.postgresql.org; Sun, 12 Nov 2023 00:12:28 +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 1r1y5T-008ff7-HT for pgsql-general@lists.postgresql.org; Sun, 12 Nov 2023 00:12:27 +0000 Received: from rs6162.luxsci.com ([162.142.76.255]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r1y5N-005yFc-0A for pgsql-general@lists.postgresql.org; Sun, 12 Nov 2023 00:12:25 +0000 Received: from pfortin.com (h241.116.117.75.dynamic.ip.windstream.net [75.117.116.241]) (authenticated bits=0) by rs6162.luxsci.com (8.15.2/8.14.9) with ESMTPSA id 3AC0CF7x006418 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Sun, 12 Nov 2023 00:12:15 GMT Date: Sat, 11 Nov 2023 19:12:14 -0500 From: pf@pfortin.com To: pgsql-general@lists.postgresql.org Subject: Aren't regex_*() functions built-in? Message-ID: <20231111191214.60d182b2.pfortin@pfortin.com> X-Mailer: Claws Mail 4.1.1git67 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Lux-Comment: Message 3AC0CF7x006418 sent by user #22427 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pfortin.com; h=date:from:to:subject:message-id:mime-version:content-type:content-transfer-encoding; s=dkim; bh=ozTOAQ/n9xcQE+zGfTJPt6krhLbjUYaqV2zdRAZDekw=; b=ktR/n9mVfp9qz+Zf9qA8rbfwalhA83Z061Y5uS8qSGMJvtlrvzUcUD4vhMtaf1txbfS1fg4/EMOGdi7zaqh0ri1LIEbHMy9UPFf82WvpmedzijVgHotqQYBQzwv/Ap2rQbzDUk6NXR4dATPkdl9rDwL25S5Iyl7GL+6RMW4KuwU= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, PostgreSQL 15.4 on x86_64-mageia-linux-gnu, compiled by gcc (Mageia 12.3.0-3.mga9) 12.3.0, 64-bit (the distro which can't figure out how to provide pgAdmin4) Aren't all the functions listed in https://www.postgresql.org/docs/current/functions-string.html assumed to be included in a base installation? I'm able to use replace(); but with regex_replace(), I get: ERROR: function regex_replace(text, unknown, unknown, unknown) does not exist Hint: No function matches the given name and argument types. You might need to add explicit type casts. ncsbe=# \df "replace" List of functions Schema | Name | Result data type | Argument data types | Type ------------+---------+------------------+---------------------+------ pg_catalog | replace | text | text, text, text | func (1 row) ncsbe=# \df "regex" List of functions Schema | Name | Result data type | Argument data types | Type --------+------+------------------+---------------------+------ (0 rows) There are no regex* functions in /usr/share/postgresql/extension Thanks, Pierre