Issue #2181289 by mradcliffe: Prevent exceptions on missing cache table during cache clear for pgsql.