pgsql: Avoid an unnecessary syscache lookup in parse_coerce.c.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Avoid an unnecessary syscache lookup in parse_coerce.c.
Дата
Msg-id E1Q8I2W-0004Ug-S2@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Make psql use pg_table_size instead of pg_relation_size on 9.0+
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Tweak collation setup for GIN index comparison functions.