mvp working as desired. how to use: 1) use this script to write table files desired to files for truth schema, 2) \i to execute them inside psql db and in 'public' schema b/c q3c indexing only possible from 'public', 3) use this script to load to each table (load before indexing b/c faster)  4) \i the index truth file and \i the cluster truth file (now they are indexed and clustered for fast querying), 5) alter table and sequence schema from public to intended schema, ie truth
mvp working as desired. how to use: 1) use this script to write table files desired to files for truth schema, 2) \i to execute them inside psql db and in 'public' schema b/c q3c indexing only possible from 'public', 3) use this script to load to each table (load before indexing b/c faster)  4) \i the index truth file and \i the cluster truth file (now they are indexed and clustered for fast querying), 5) alter table and sequence schema from public to intended schema, ie truth

desihub/desitarget,desihub/desitarget