From: jmycr@cs.com
To: pgsql-sql@postgresql.org
Subject: 'now' problem
Date: Fri, 08 Mar 2002 09:13:31 -0500
Message-ID: <6E780245.25FCD282.00014635@cs.com> (raw)
SELECT a.id, a.archive_id, a.bk_name, b.ip
FROM archive a, backup b
WHERE a.file_status = 0 and a.bkup_name = b.bkup_name and a.backup_date < 'now'::datetime -
'(SELECT s.maxday_savefile FROM backupservice s
WHERE info.service_type = s.service and a.backup_id = info.backup_id) days'::timespan;
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jmycr@cs.com
Subject: Re: 'now' problem
In-Reply-To: <6E780245.25FCD282.00014635@cs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox