How should I phrase this? - Mailing list pgsql-general

From Paul Tomblin
Subject How should I phrase this?
Date
Msg-id 20010708141231.A7550@allhats.xcski.com
Whole thread Raw
List pgsql-general
I've got a table that I insert a value and a timestamp "now()".  Then I
want to delete entries that are older than 30 minutes old.  After some
experimentation, I found the following works, but it looks awkward and
backwards.  Is there a better, more readable way of phrasing this or
rewriting it?

DELETE
FROM           generators
WHERE          age(now(),started) > interval '30 minutes'


--
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
"Nobody can be told what the dominatrix is, they have to see it for themselves"

pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re: Postgres and C/C++
Next
From: "Mitch Vincent"
Date:
Subject: Re: How should I phrase this?