X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5E574D8A60 for ; Thu, 8 Sep 2005 17:15:19 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 13773-04 for ; Thu, 8 Sep 2005 20:15:12 +0000 (GMT) Received: from mail.isp (unknown [217.199.121.6]) by svr1.postgresql.org (Postfix) with ESMTP id E73E1D8A56 for ; Thu, 8 Sep 2005 17:15:11 -0300 (ADT) Received: from [85.115.127.51] (unknown [85.115.127.51]) by mail.isp (Postfix) with ESMTP id 28FC03B2A5 for ; Thu, 8 Sep 2005 23:15:42 +0300 (EEST) From: "Andrei Verovski (aka MacGuru)" Reply-To: andreil1@starlett.lv To: PostgreSQL - PHP Subject: Getting list of Indexes & contrains Date: Thu, 8 Sep 2005 23:28:40 +0300 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200509082328.40506.andreil1@starlett.lv> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200509/7 X-Sequence-Number: 3247 Hi, I am using PostgreSQL 8 and adodb. adodb has a built-in function which=20 scans and retrieves db structure as assotiative array. Unfortunately,=20 it do not list indexes and constrains. What would be a SQL statement=20 to retrieve them? Thanks in advance for any suggestion(s). ************************************************ *** =A0 with best regards=20 *** =A0 Andrei Verovski (aka MacGuru) *** =A0 Mac, Linux, DTP, Programming Web Site *** *** =A0 http://snow.prohosting.com/guru4mac/ ************************************************