timestamp differences

From: Garry Saddington <garry(at)schoolteachers(dot)co(dot)uk>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: timestamp differences
Date: 2008-12-28 21:40:28
Message-ID: 200812282140.28858.garry@schoolteachers.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a timestamp column that I want to compare with current timestamp.
I want to get all rows that are less than 10 minutes old. I have searched but
can not find how to do this, any pointers?
regards
Garry

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2008-12-28 21:53:30 Re: timestamp differences
Previous Message Tom Lane 2008-12-28 21:31:23 Re: Finding foreign keys that are missing indexes