I have a table in SQL Server which has a column of type hierarchyid
, the issue is that I can't find the equivalent datatype for this in PostgreSQL.
CREATE TABLE dbo.exampleTable{
id int;
name varchar(255);
level hierarchyid not null;
}
How would I write the equivalent in PostgreSQL?