Re: Declaring timestamp variables in function - Mailing list pgsql-novice

From Laurent
Subject Re: Declaring timestamp variables in function
Date
Msg-id 092c599f-62ef-4c00-b4b3-a62b280ef1e2@p11g2000vbq.googlegroups.com
Whole thread Raw
In response to Declaring timestamp variables in function  (Laurent <lduperval@gmail.com>)
List pgsql-novice
On Mar 10, 6:27 pm, t...@sss.pgh.pa.us (Tom Lane) wrote:
> Laurent <lduper...@gmail.com> writes:
> > -- here I update my date
> > END;
> > $$ LANGUAGE SQL;
> The problem's at the other end of that command :-(.  You need to
> say language plpgsql, not language sql.
>

Yep, that was it. All is well now, thanks.

L


pgsql-novice by date:

Previous
From: Sachin Srivastava
Date:
Subject: Re: Cannot install pgAgent on Windows
Next
From: Thomas Kellerer
Date:
Subject: Re: regarding functions and storedprocedures