PPDM39 DDL converted from Oracle to PostgreSQL