OSDN Git Service

If the alternatives for a CASE construct all have the same typmod,
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 12 Nov 2001 20:05:24 +0000 (20:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 12 Nov 2001 20:05:24 +0000 (20:05 +0000)
commitd4d23852c17ea2f104a79fc0fdc6e02e8370cdc8
tree6fd9f49ac3a5c3ec73212bd41237f4c3576829f8
parente433bf5a5ed2f0a28c4a896658dd2fe40d8b026e
If the alternatives for a CASE construct all have the same typmod,
use that typmod not -1 as the typmod of the CASE result.
Part of response to bug#513.
src/backend/parser/parse_expr.c