Re: Foreign keys / MATCH FULL, PARTIAL, etc. - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Re: Foreign keys / MATCH FULL, PARTIAL, etc.
Date
Msg-id 416A8C4F.4000706@pse-consulting.de
Whole thread Raw
In response to Re: Foreign keys / MATCH FULL, PARTIAL, etc.  ("Dave Page" <dpage@vale-housing.co.uk>)
Responses Re: Foreign keys / MATCH FULL, PARTIAL, etc.  (Alexander Borkowski <alexander.borkowski@abri.une.edu.au>)
List pgadmin-hackers
Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: pgadmin-hackers-owner@postgresql.org
>>[mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
>>Alexander Borkowski
>>Sent: 11 October 2004 08:31
>>To: pgadmin-hackers@postgresql.org
>>Subject: [pgadmin-hackers] Foreign keys / MATCH FULL, PARTIAL, etc.
>>
>>I don't know of how much help this is going to be, but the
>>anwer to the question
>>
>>     // MATCH FULL/PARTIAL missing; where is this stored?!?
>>
>>posed in pgForeignKey.cpp line 45 is: In
>>pg_catalog.pg_trigger.tgargs.
>>It is the third argument (zero based) to the ri-triggers, or
>>more precisely the RI_MATCH_TYPE_ARGNO'th, cf.
>>include/commands/trigger.h in the PostgreSQL 8.0 beta 3
>>source (7.4 as well).
>
>
> Ahh, thanks Alex. Iirc, that comment was written in 7.3 days when the
> dcos said something like "There's MATCH FULL and MATCH PARTIAL which
> isn't implemented yet", so it was probably ignored. Of course, there was
> also MATCH SIMPLE, but it didn't have a name then, and cursory scan of
> the docs probably wouldn't have registered it's existance :-(

AFAIR at the moment of implementing that part the 7.3 doc didn't fully
document pg_constraint. The correct answer to this question now is
pg_constraint.confmatchtype.

We'll fix this for 1.3/1.4. It requires dialog changes, so this has to
wait a little. Thanks for pointing out this missing option, we'd
probably would have missed it up to pgsql 2030 :-)


Regards,
Andreas

pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: CVS Commit by dpage: Don't save dialogue sizes
Next
From: "Dave Page"
Date:
Subject: Re: Foreign keys / MATCH FULL, PARTIAL, etc.