Re: Mapping Oracle types to PostgreSQL types

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Jean-Michel POURE <jm@poure.com>
Cc: pgsql-hackers@postgresql.org
Date: 2003-10-17T11:40:09Z
Lists: 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