ogr2ogr from file to PostgreSQL 12 table fails
I have the same issue (this morning) and started to search for some solutions and the only thing I found is that is a GDAL PG12 problem, which was solved in a commit of GDAL in July 2019.
This means we have to fix this manually or upgrade our GDAL. Your GDAL version is from June 2019, mine also.