#865 plspgsql function not created with tora

open
nobody
General (70)
7
2012-11-29
2012-11-29
Martin Rotter
No

I have fundamental plpgsql function (code below), this function get compled with psql just fine (no errors) but tora on same PostgreSQL server fails.

postgresql 9.2.1-2
postgresql-libs 9.2.1-2
tora 2.1.3-4
linux 3.6.7-1
linux-api-headers 3.6.3-1
linux-firmware 20120625-1
linux-headers 3.6.8-1
==============================================

CREATE LANGUAGE plpgsql;

CREATE OR REPLACE FUNCTION foo(INT, TEXT) RETURNS INT AS $$
DECLARE
bar INT;
baz INT;
arg1 ALIAS FOR $1;
BEGIN
RETURN 10;
END;
$$ LANGUAGE plpgsql;

Discussion

  • Martin Rotter
    Martin Rotter
    2012-11-29

    • priority: 5 --> 7