Kevin Seghetti <kts@xxxxxxxxxxx> 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 ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match