You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
psql -h s2rep-pg-01.s2rep.local s2rephub -c "UPDATE PRODUCTS SET updated=now()::timestamp(3) WHERE id=$prodid";
echo "";
echo "$NOW - Inserted ID:$prodid and checksum:$md5 for product:$prod" |tee -a /data/tools/Checksum_check_checker/log/insertion_log.txt;
psql -h s2rep-pg-01.s2rep.local s2rephub -c "copy(select id,updated,value from products p left join checksums c on (p.id=product_id) join keystoreentries k on k.entrykey=p.uuid where product_id=$prodid and tag='unaltered' and keystore like 'datastore-s%') to stdout with delimiter ','";