postgres attempt fix