[sql] Padding zeros to the left in postgreSQL