Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 2E14763304B for ; Mon, 6 Jul 2009 14:01:48 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 68196-02 for ; Mon, 6 Jul 2009 14:01:42 -0300 (ADT) Received: from cvs.postgresql.org (cvs.postgresql.org [217.196.146.206]) by mail.postgresql.org (Postfix) with ESMTP id 5DE69632A2B for ; Mon, 6 Jul 2009 14:01:43 -0300 (ADT) Received: by cvs.postgresql.org (Postfix, from userid 1179) id 3944575331E; Mon, 6 Jul 2009 17:01:42 +0000 (UTC) MIME-Version: 1.0 To: pgsql-committers@postgresql.org Subject: pgsql: Show definition of index columns in \d on index This adds a X-Mailer: activitymail 1.24, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain Message-Id: <20090706170142.3944575331E@cvs.postgresql.org> Date: Mon, 6 Jul 2009 17:01:42 +0000 (UTC) From: petere@postgresql.org (Peter Eisentraut) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.039 tagged_above=0 required=5 tests=AWL=0.039 X-Spam-Level: X-Archive-Number: 200907/66 X-Sequence-Number: 37669 Log Message: ----------- Show definition of index columns in \d on index This adds a column called "Definition" to the output of psql \d on an index, which shows the full expression behind the index column. For indexes on plain columns, this is redundant, but for expression indexes, this reveals the real expression. Author: Khee Chin Modified Files: -------------- pgsql/src/bin/psql: describe.c (r1.219 -> r1.220) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/describe.c?r1=1.219&r2=1.220)