Kevin Seghetti <kts(at)tenetti(dot)org> writes:
> Is there any way to nuke pg_statistic (since its contents can be
> recalculated anyway?)
You want to do "TRUNCATE pg_statistic"; to avoid the permission check,
you'll need to do that in a standalone backend with -O option.
Do *not* try to drop and recreate it --- its OID is hardwired into
various places.
regards, tom lane