Search Postgresql Archives

Why not working under 8.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Why not working under 8.3

Following lines produce an error message under 8.3. - but not under 8.1.
Why?

CREATE OR REPLACE FUNCTION dodi() RETURNS boolean AS
$$
BEGIN
        SELECT 'abc' INTO TEMPORARY foonana;
        RETURN FALSE;
END;
$$
LANGUAGE 'plpgsql';


FEHLER:  syntax error at "TEMPORARY"
DETAIL:  Expected record variable, row variable, or list of scalar variables following INTO.
CONTEXT:  compile of PL/pgSQL function "dodi" near line 2

********** Fehler **********

FEHLER: syntax error at "TEMPORARY"
SQL Status:42601
Detail:Expected record variable, row variable, or list of scalar variables following INTO.
Kontext:compile of PL/pgSQL function "dodi" near line 2


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux