Re: Mapping Oracle types to PostgreSQL types - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Mapping Oracle types to PostgreSQL types
Date
Msg-id Pine.LNX.4.44.0310171338060.14902-100000@peter.localdomain
Whole thread Raw
In response to Mapping Oracle types to PostgreSQL types  (Jean-Michel POURE <jm@poure.com>)
Responses Re: Mapping Oracle types to PostgreSQL types  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Jean-Michel POURE writes:

> Is there a way to map Oracle nvarchar2(lenght) to PostgreSQL varchar(lenght)
> in PostgreSQL 7.3? Are there plans to allow such mapping in the future using
> the CREATE DOMAIN syntax?

No to both.  Doing this would most likely require making the affected type
names be reserved words in the grammar or sacrifice some other
functionality, which seems a high price to pay for this cosmetic feature.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Mapping Oracle types to PostgreSQL types
Next
From: Peter Eisentraut
Date:
Subject: Re: Some more information_schema issues