Re: Oracle Analytical Functions

From: "Adam Rich" <adam(dot)r(at)sbcglobal(dot)net>
To: "'Willem Buitendyk'" <willem(at)pcfish(dot)ca>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Oracle Analytical Functions
Date: 2008-01-31 00:13:13
Message-ID: 00ac01c8639e$122ed1e0$368c75a0$@r@sbcglobal.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I tried this function but it keeps returning an error such as:
>
> ERROR: invalid input syntax for integer: "2007-05-05 00:34:08"
> SQL state: 22P02
> Context: PL/pgSQL function "lagfunc" line 10 at assignment

Whoops, this line:

> > client_id := thisrow.datetime;

Should be:

client_id := thisrow.client_id;

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma Jr 2008-01-31 00:22:47 Re: Is PostGreSql's Data storage mechanism "inferior"?
Previous Message Joshua D. Drake 2008-01-31 00:06:57 Re: Is PostGreSql's Data storage mechanism "inferior"?