Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 55F416327CA for ; Wed, 28 Jan 2009 15:20:58 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 29345-02-4 for ; Wed, 28 Jan 2009 15:20:53 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail137182.authsmtp.com (outmail137182.authsmtp.com [62.13.137.182]) by mail.postgresql.org (Postfix) with ESMTP id 44ADF632741 for ; Wed, 28 Jan 2009 15:18:37 -0400 (AST) Received: from mail-c193.authsmtp.com (mail-c193.authsmtp.com [62.13.128.118]) by punt5.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id n0SJIZvR078061 for ; Wed, 28 Jan 2009 19:18:35 GMT Received: from Sidney-Stratton.local (dsl081-245-111.sfo1.dsl.speakeasy.net [64.81.245.111]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id n0SJIXOW077145 for ; Wed, 28 Jan 2009 19:18:33 GMT Message-ID: <4980AF83.50707@agliodbs.com> Date: Wed, 28 Jan 2009 11:18:27 -0800 From: Josh Berkus Organization: Aglio Database Solutions User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: Clarification to catalog-pg-class Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Server-Quench: 74db8bf7-ed70-11dd-8a51-002264978518 X-AuthRoute: OCdyZgscClZXSx8a IioLCC5HRQ8+YBZL BAkbIhBDJB8FUg9K Gl5dNUZcKlAHXFUf XCRcFVZcTycgB3x3 awpYfQRUaEtGVQZu Hk5NXFpTCgdsBAIA Bx8BUBxwchpGNiBw BjwbNg88XEN9dEJ4 DEZVESMBYTMyYDJJ V10NIwRUbQJLKktY YgF6VW4NYWcFYH5p QF9uZmAnFjFWMiVb QwoEMVMVRw4XGXY3 TgwLGTIgWFUKAi43 Jgc9QjYz X-Authentic-SMTP: 61633136333939.pelican.dmpriest.net.uk:1378/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200901/10 X-Sequence-Number: 5046 All, Currently, catalog-pg-class is a bit confusing as to where FKs are tracked in pg_class. Please update the lines for relchecks and reltriggers to read: relchecks int2 Number of check constraints on the table (but not other types of constraints); see pg_constraint catalog reltriggers int2 Number of triggers on the table, including constraint-triggers for foreign keys; see pg_trigger catalog --Josh Berkus