Skip site navigation (1) Skip section navigation (2)

pgsql: When given a nonzero column number, pg_get_indexdef() is only

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: When given a nonzero column number, pg_get_indexdef() is only
Date: 2007-12-20 00:23:19
Message-ID: 20071220002319.8F71C7540F0@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
When given a nonzero column number, pg_get_indexdef() is only supposed to
print the index key variable or expression for that column.  It was mistakenly
printing ASC/DESC/NULLS FIRST/NULLS LAST decoration too --- and not only for
the target column, but all columns.  Someday we should have an option to
extract that info (and the opclass decoration as well) for a single index
column ... but today is not that day.  Per bug #3829 and subsequent
discussion.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        ruleutils.c (r1.266 -> r1.267)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c?r1=1.266&r2=1.267)

pgsql-committers by date

Next:From: User JbcooleyDate: 2007-12-20 05:08:07
Subject: npgsql - Npgsql2: updated assembly version to beta 2.
Previous:From: User H-saitoDate: 2007-12-19 19:32:46
Subject: pginstaller - web: The addition of a material.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group