X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 53928D7D64; Sat, 10 Sep 2005 06:34:41 -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 29775-07; Sat, 10 Sep 2005 09:34:36 +0000 (GMT) Received: from mail.isp (unknown [217.199.121.6]) by svr1.postgresql.org (Postfix) with ESMTP id 4B4E7D7B1E; Sat, 10 Sep 2005 06:34:36 -0300 (ADT) Received: from [85.115.127.51] (unknown [85.115.127.51]) by mail.isp (Postfix) with ESMTP id A7B533B25B; Sat, 10 Sep 2005 12:35:05 +0300 (EEST) From: "Andrei Verovski (aka MacGuru)" Reply-To: andreil1@starlett.lv To: pgsql-php@postgresql.org, pgsql-admin@postgresql.org Subject: Getting list of Indexes & contrains User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Disposition: inline Date: Sat, 10 Sep 2005 12:47:59 +0300 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200509101247.59877.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/118 X-Sequence-Number: 18855 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/ ************************************************