Re: Composite types for composite primary/foreign keys?

From: Wolfgang Keller <wolfgang(dot)keller(dot)privat(at)gmx(dot)de>
To:
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Composite types for composite primary/foreign keys?
Date: 2007-11-19 11:17:33
Message-ID: 9AC70A9E4CF98C1DC2865A47@[192.168.1.25]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

and thanks for your reply.

>> I'm sorry, but I'm apparently too dump to actually figure out
>> myself whether this means that I can use a single composite type
>> column as a primary / foreign key or whether not...?
>
> What have you actually tried?

I wanted to simplify the schema and make it more "readable" for
clueless morons like me. >;->

> You can learn a lot by a few minutes of
> exploration at a psql prompt.

Yes, I will have to get used to using the Postgres prompt just like I
do with the Python prompt. ;-)

Sincerely,

Wolfgang Keller

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2007-11-19 11:47:05 Re: Postgre and XML
Previous Message x asasaxax 2007-11-19 11:17:04 Postgre and XML