Snawoot / postfix-mta-sts-resolver

Daemon which provides TLS client policy for Postfix via socketmap, according to domain MTA-STS policy
MIT License
117 stars 23 forks source link

Use stable scan query #103

Closed dlucredativ closed 1 year ago

dlucredativ commented 1 year ago

PostgreSQL may return rows in arbitrary order without an order clause. If it returned the maximum id in the first batch, consecutive batches would be empty and terminate the scan.

Snawoot commented 1 year ago

Thanks!