psql to_date

select * from brand_productprice
  where date = to_date('20210506', 'YYYYMMDD') 
  and price_diff < 0