dataegret / pgcompacttable

BSD 3-Clause "New" or "Revised" License
314 stars 48 forks source link

Try to install pgstattuple #38

Open seqizz opened 3 years ago

seqizz commented 3 years ago

Hi there,

First of all, thanks for this tool. pg_repack was causing a real bad time on some DBs and this works like charm.

I'll have a small suggestion. Can't the binary try to run create extension pgstattuple; on the DB it's running (preferably via a parameter)? It can still fail with same message if it's not available, but that would make it a pinch easier to use.

Thanks again & have a nice day :wave: