Hi Boris,
I know Kaare Rasmussen posted a URL to the online documentation already,
but this might be a direct solution to your problem:
DELETE FROM onlineuser WHERE datum < ('now'::datetime - '5
minutes'::interval);
Hope this helps
Francis Solomon
> Hello
>
> I am moving from MySQL to Postgre
> Is there any Date/Time function in PGSQL? I want as shown in this
> example delete entries older than 300 secounds.
>
> I postet to the list because I have found no solution in the
> tutorials and search-engine (maybe searched with wrong words?)
http://www.postgresql.org/users-lounge/docs/7.0/p