Ticket #268 (closed defect: duplicate)
[PATCH] send-quarantine-digests.pl & Postgresql
| Reported by: | erik@… | Owned by: | rjl |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Perl scripts | Version: | 1.0.0 |
| Severity: | normal | Keywords: | digests, postgres, postgresql |
| Cc: |
Description
send-quarantine-digests.pl uses 2 MySQL specific functions:
1) UNIX_TIMESTAMP(). Postgresql doesn't have a direct equivalent, but ROUND(DATE_PART('epoch', <value>)) is a close approximation.
2) DATE_ADD(). Postgresql doesn't need this, as the + operator will work on dates.
(patch to follow)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

