aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-04-17 18:09:22 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-04-17 18:09:22 -0400
commitc29abc8b6f5334ac2f7046a33b233776ead12395 (patch)
treee3f7b87c29f25ca34b917b67a8e0276c2dfa95cd /src/backend/parser/parse_utilcmd.c
parent2d4617126f6d708c5777b378d9ef282fb2c08930 (diff)
downloadpostgresql-c29abc8b6f5334ac2f7046a33b233776ead12395.tar.gz
postgresql-c29abc8b6f5334ac2f7046a33b233776ead12395.zip
Fix assorted infelicities in collation handling in psql's describe.c.
In \d, be more careful to print collation only if it's not the default for the column's data type. Avoid assuming that the name "default" is magic. Fix \d on a composite type so that it will print per-column collations. It's no longer the case that a composite type cannot have modifiers. (In consequence, the expected outputs for composite-type regression tests change.) Fix \dD so that it will print collation for a domain, again only if it's not the same as the base type's collation.
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions