X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 464D0D1B566 for ; Wed, 5 Nov 2003 09:17:29 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 99443-02 for ; Wed, 5 Nov 2003 05:16:59 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 39C61D1B8EC for ; Wed, 5 Nov 2003 05:16:57 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hA59GuNu070509 for ; Wed, 5 Nov 2003 09:16:56 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hA590f7X068165 for pgsql-sql@postgresql.org; Wed, 5 Nov 2003 09:00:41 GMT From: so_excited@excite.com (Damon) X-Newsgroups: comp.databases.postgresql.questions, comp.databases.postgresql.sql Subject: How to know column constraints via system catalog tables Date: 5 Nov 2003 01:00:40 -0800 Organization: http://groups.google.com Lines: 10 Message-ID: <159c8bc6.0311050100.8b65b87@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-sql@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/56 X-Sequence-Number: 15871 Hi, I need to query each column's constraint and name of a table in postgreSQL v7.3.4 with a single SQL query but don't know how. Would appreciate any pointers! Thank you. Regards, Damon