Metadata upload compatibility for PostgreSQL version