Clean up handling of COLLATE clauses in index column definitions.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 3bba9ce945a702ab116fcedb9c0b970ecd69c9dd
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-03-24T19:29:52Z
Releases: 9.1.0
Clean up handling of COLLATE clauses in index column definitions.

Ensure that COLLATE at the top level of an index expression is treated the
same as a grammatically separate COLLATE.  Fix bogus reverse-parsing logic
in pg_get_indexdef.

Files