Re: syntax error with v12 - Mailing list pgsql-general

From Josef Šimánek
Subject Re: syntax error with v12
Date
Msg-id CAFp7Qwr2_CGFYWLFWAHgBzpehOYQoPzEt0tFf76rQAZw0iupWA@mail.gmail.com
Whole thread Raw
In response to syntax error with v12  (Ivan Kabaivanov <ivan.kabaivanov@gmail.com>)
List pgsql-general
Hello, I think this change is mentioned in release notes https://www.postgresql.org/docs/release/12.0/.

čt 10. 10. 2019 v 14:51 odesílatel Ivan Kabaivanov <ivan.kabaivanov@gmail.com> napsal:
Hi, everyone.

First time poster here.

This snippet (from ovirt-engine-dwh) used to work fine with postgresql-11.x, but emits a syntax error with postgresql-12.0:

CREATE TABLE history_configuration
(
var_name VARCHAR(50) NOT NULL,
var_value VARCHAR(255),
var_datetime TIMESTAMP WITH TIME ZONE,
CONSTRAINT PK_history_configuration PRIMARY KEY(var_name)
) WITH OIDS;

psql:/usr/share/ovirt-engine-dwh/dbscripts/create_tables.sql:7: ERROR:  syntax error at or near "OIDS"
LINE 7: ) WITH OIDS;

Is what I provided sufficient to troubleshoot the issue?  Let me know what else must be necessary for me to add.

Thanks,
IvanK.

pgsql-general by date:

Previous
From: Ivan Kabaivanov
Date:
Subject: syntax error with v12
Next
From: Félix GERZAGUET
Date:
Subject: Re: syntax error with v12