Fix [ 1907259 ] Function charat wrong in 331b
This commit is contained in:
parent
de9a50a7e1
commit
a653083331
|
@ -0,0 +1,3 @@
|
||||||
|
-- [ 1907259 ] Function charat wrong in 331b
|
||||||
|
|
||||||
|
-- just for postgres
|
|
@ -0,0 +1,9 @@
|
||||||
|
-- [ 1907259 ] Function charat wrong in 331b
|
||||||
|
|
||||||
|
CREATE OR REPLACE FUNCTION charat(character varying, integer) RETURNS character varying
|
||||||
|
AS $_$
|
||||||
|
BEGIN
|
||||||
|
RETURN SUBSTR($1, $2, 1);
|
||||||
|
END;
|
||||||
|
$_$
|
||||||
|
LANGUAGE plpgsql;
|
Loading…
Reference in New Issue