| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: OO and relation "impedance mismatch"
On Mon, 04 Oct 2004 03:00:02 +0000, Marshall Spight wrote:
>> I understand that user defined domains don't define any operators, and all >> domains are subsets of the original primitive dataypes, but it's been >> awfully useful to me in my work!
A bit if confusion seems to have crept into this thread:
In PostgreSQL, CREATE DOMAIN may be used to create a "nichname"/macro for a column definition. As such, it isn't used to create new types.
It's certainly possible to create new types, operators and casts in several databases, including PostgreSQL:
http://www.postgresql.org/docs/7.4/static/sql-createtype.html http://www.postgresql.org/docs/7.4/static/sql-createcast.html http://www.postgresql.org/docs/7.4/static/sql-createoperator.html- And for indexing new types:
-- Greetings from Troels Arvin, Copenhagen, DenmarkReceived on Mon Oct 04 2004 - 02:09:32 CDT
![]() |
![]() |