ALTER TABLE doc small thing

From: Grzegorz Szpetkowski <gszpetkowski(at)gmail(dot)com>
To: pgsql-docs(at)postgresql(dot)org
Subject: ALTER TABLE doc small thing
Date: 2011-05-09 15:56:18
Message-ID: BANLkTikx0iKbcU4pPAMDPXcL1c4fX6nWMQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

http://www.postgresql.org/docs/9.0/static/sql-altertable.html

"To add a foreign key constraint to a table:

ALTER TABLE distributors ADD CONSTRAINT distfk FOREIGN KEY (address)
REFERENCES addresses (address) MATCH FULL;"

This looks confusing to me. Is "MATCH FULL" works with non-composite
(one adress column) foreign keys at all ?

Regards,
G. Sz.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Grzegorz Szpetkowski 2011-05-09 18:12:13 Re: ALTER TABLE doc small thing
Previous Message Magnus Hagander 2011-05-08 19:55:05 Re: should pg_basebackup be listed as a server application?