⚝
One Hat Cyber Team
⚝
Your IP:
192.168.31.6
Server IP:
192.168.1.11
Server:
Linux pams 6.1.0-29-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
PHP Version:
8.2.28
Buat File
|
Buat Folder
Upload File
Eksekusi
Dir :
~
/
usr
/
share
/
postgresql
/
15
/
extension
/
Edit File: citext--1.0--1.1.sql
/* contrib/citext/citext--1.0--1.1.sql */ -- complain if script is sourced in psql, rather than via ALTER EXTENSION \echo Use "ALTER EXTENSION citext UPDATE TO '1.1'" to load this file. \quit /* First we have to remove them from the extension */ ALTER EXTENSION citext DROP FUNCTION regexp_matches( citext, citext ); ALTER EXTENSION citext DROP FUNCTION regexp_matches( citext, citext, text ); /* Then we can drop them */ DROP FUNCTION regexp_matches( citext, citext ); DROP FUNCTION regexp_matches( citext, citext, text ); /* Now redefine */ CREATE FUNCTION regexp_matches( citext, citext ) RETURNS SETOF TEXT[] AS $$ SELECT pg_catalog.regexp_matches( $1::pg_catalog.text, $2::pg_catalog.text, 'i' ); $$ LANGUAGE SQL IMMUTABLE STRICT ROWS 1; CREATE FUNCTION regexp_matches( citext, citext, text ) RETURNS SETOF TEXT[] AS $$ SELECT pg_catalog.regexp_matches( $1::pg_catalog.text, $2::pg_catalog.text, CASE WHEN pg_catalog.strpos($3, 'c') = 0 THEN $3 || 'i' ELSE $3 END ); $$ LANGUAGE SQL IMMUTABLE STRICT ROWS 10;
Simpan