From: | Jeff Davis <pgsql(at)j-davis(dot)com> |
---|---|
To: | Elena <elena(dot)planas(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Reference Type in PostgreSQL |
Date: | 2007-03-20 02:10:47 |
Message-ID: | 1174356647.23455.483.camel@dogma.v10.wvs |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, 2007-03-19 at 11:30 +0100, Elena wrote:
> Hello all, I'm new in PostgreSQL...
>
> I would want to know like PostgreSQL manages the type reference that
> defines the standard SQL:1999. I want to define the type of attribute
> like a reference at other type.
>
PostgreSQL doesn't allow references/pointers. OIDs are the closest thing
to a reference in PostgreSQL.
>From _An Introduction to Database Systems_ by C.J. Date, p. 872:
"The blunder [The Second Great Blunder] consists of mixing pointers and
relations."
So not everyone thinks that references/pointers in a relation value are
a good idea.
I don't know how the PostgreSQL developers feel about it, but I haven't
seen a lot of demand for this feature on these lists.
Regards,
Jeff Davis
From | Date | Subject | |
---|---|---|---|
Next Message | Dhaval Shah | 2007-03-20 07:30:06 | Unable to start postgres in recovery mode. |
Previous Message | Andrej Ricnik-Bay | 2007-03-20 01:58:42 | Re: java.net.SocketException: Connection reset |