Avoid an unnecessary syscache lookup in parse_coerce.c. All the other fields of the constant are being extracted from the syscache entry we already have, so handle collation similarly. (There don't seem to be any other uses for the new function at the moment.)
Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/c5ff3ff49229e8fb7da0e46b463bfc9b12219078 Modified Files -------------- src/backend/parser/parse_coerce.c | 2 +- src/backend/parser/parse_type.c | 16 +++++++++++++--- src/include/parser/parse_type.h | 1 + 3 files changed, 15 insertions(+), 4 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
