TIL how to check index creation progress in postgres

by @rinas

SELECT 
   (blocks_done::numeric / blocks_total::numeric) * 100 AS percentage_done
FROM     
   pg_stat_progress_create_index;




Got this from Stackoverflow: https://stackoverflow.com/a/78640729

Yes, it's from the good old stackoverflow :)

Regarding privacy concerns, it's simple - we don't sell your data. In fact, we try to use privacy-focused software/services like Fathom Analytics whenever we use any third-party services.