Oracle 11g to PostgreSQL - CREATE TYPE OBJECT

2.8k Views Asked by At

How can I make this Oracle 11g piece of SQL work on PostgreSQL?

CREATE OR REPLACE TYPE GeoCoord AS OBJECT (
 Longitude NUMBER,
 Latitude NUMBER);
1

There are 1 best solutions below

5
On

I'm not use but you can use like this;

Create Type

or you can find it in

Postgresql