Skip site navigation (1) Skip section navigation (2)

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$ (view raw, whole thread or download thread mbox)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group