Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 93A371337DE9 for ; Mon, 9 May 2011 16:10:54 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 03062-04-4 for ; Mon, 9 May 2011 19:10:36 +0000 (UTC) Received: from mx1.hub.org (mx1.hub.org [200.46.208.106]) by mail.postgresql.org (Postfix) with ESMTP id F1BCF1337C97 for ; Mon, 9 May 2011 16:00:35 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iy0-f174.google.com (mail-iy0-f174.google.com [209.85.210.174]) by mx1.hub.org (Postfix) with ESMTP id 6824032622BC for ; Mon, 9 May 2011 15:57:08 +0000 (UTC) Received: by iyb14 with SMTP id 14so4410935iyb.19 for ; Mon, 09 May 2011 08:56:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=AxGSj25u/eKF/Y8gEs9VoQkdFEBWMI0ldRvu6KhlfE4=; b=ZrWCiuU5QDP4+uI3YLN9TrS3V9mKKSWVCI6hf96wyRv9jcY5MO1KRNUhOrlk+UF2OF MjlfRQaUPYWdGOxrXQaBSBTKhR2NB2e0ycXf3jm1LpJOf4aa3iDg2BiQjceTvqLnHm1j yALYvMZhmeAvV/FBCLOE4X8MemK58krtTZWME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Du8iMNnRKuw/gc+euXaYlSYt8lnX1pwxByEpuqQBR0992myV0WrCgQvAdlZaKtFeLL dblOe9JuPEYV6kaziFvIycrhD+8MGb9oNzXtUq/Ghwx7MTFFuza5wEaBErO1grKcLDew wTT/NlT512YkjA4jC45t/r8gzsT5Zo+nhkN7A= MIME-Version: 1.0 Received: by 10.231.142.17 with SMTP id o17mr4669149ibu.49.1304956578393; Mon, 09 May 2011 08:56:18 -0700 (PDT) Received: by 10.231.12.131 with HTTP; Mon, 9 May 2011 08:56:18 -0700 (PDT) Date: Mon, 9 May 2011 17:56:18 +0200 Message-ID: Subject: ALTER TABLE doc small thing From: Grzegorz Szpetkowski To: pgsql-docs@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.888 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RFC_ABUSE_POST=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201105/39 X-Sequence-Number: 6714 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.