From a653083331a2aa9934617e3292abc4c6bce95345 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 4 Mar 2008 19:54:50 +0000 Subject: [PATCH] Fix [ 1907259 ] Function charat wrong in 331b --- migration/331b-trunk/112_BF1907259.sql | 3 +++ migration/331b-trunk/postgresql/112_BF1907259.sql | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 migration/331b-trunk/112_BF1907259.sql create mode 100644 migration/331b-trunk/postgresql/112_BF1907259.sql diff --git a/migration/331b-trunk/112_BF1907259.sql b/migration/331b-trunk/112_BF1907259.sql new file mode 100644 index 0000000000..d1deebfd63 --- /dev/null +++ b/migration/331b-trunk/112_BF1907259.sql @@ -0,0 +1,3 @@ +-- [ 1907259 ] Function charat wrong in 331b + +-- just for postgres \ No newline at end of file diff --git a/migration/331b-trunk/postgresql/112_BF1907259.sql b/migration/331b-trunk/postgresql/112_BF1907259.sql new file mode 100644 index 0000000000..877a68edf9 --- /dev/null +++ b/migration/331b-trunk/postgresql/112_BF1907259.sql @@ -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; \ No newline at end of file