Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f6KCaKa70481 for ; Fri, 20 Jul 2001 08:36:20 -0400 (EDT) (envelope-from pgsql-sql-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6JFVsa63805 for ; Thu, 19 Jul 2001 11:31:54 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f6JFRFa04305 for pgsql-sql@postgresql.org; Thu, 19 Jul 2001 11:27:15 -0400 (EDT) (envelope-from news) From: "danno" X-Newsgroups: comp.databases.postgresql.sql Subject: querying values defined in a check constraint Date: Thu, 19 Jul 2001 16:28:26 +0100 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 13 Message-ID: <9j6u8i$46e$1@news.tht.net> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 To: pgsql-sql@postgresql.org X-Archive-Number: 200107/272 X-Sequence-Number: 4069 I would like to query values defined in a check constraint on a field so I can populated a web form dynamically with options for users. Can this be done? I'm using Python with the PgSQL and libpq drivers to interface with the database. regards Danno