]> granicus.if.org Git - postgresql/commit
A better fix for the "ARRAY[...]::domain" problem. The previous patch worked,
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 13 Nov 2009 19:48:20 +0000 (19:48 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 13 Nov 2009 19:48:20 +0000 (19:48 +0000)
commit01038d4ad77eec8cdf16a39c69fc902bf30c4072
treef7006e01f6bf1398412fb5e4f4a451ce8f0bd550
parent942702a496c3c45f5f8205ebd59a2827678bed25
A better fix for the "ARRAY[...]::domain" problem. The previous patch worked,
but the transformed ArrayExpr claimed to have a return type of "domain",
even though the domain constraint was only checked by the enclosing
CoerceToDomain node. With this fix, the ArrayExpr is correctly labeled with
the base type of the domain. Per gripe by Tom Lane.
src/backend/parser/parse_expr.c