-create temp table newest_sources (
- id integer primary key,
- source text);
-
-create index sources_binaries_by_source on newest_sources (source);
-
-insert into newest_sources (id, source)
- select distinct on (source) s.id, s.source from source s