pgsql: Revert an ill-considered portion of my patch of 12-Mar, which

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Revert an ill-considered portion of my patch of 12-Mar, which
Дата
Msg-id 20070617185729.5AC299FB2ED@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Revert an ill-considered portion of my patch of 12-Mar, which tried to save a
few lines in sql_exec_error_callback() by using the function source string
field that the patch added to SQL function cache entries.  This doesn't work
because the fn_extra field isn't filled in yet during init_sql_fcache().
Probably it could be made to work, but it doesn't seem appropriate to contort
the main code paths to make an error-reporting path a tad faster.  Per report
from Pavel Stehule.

Modified Files:
--------------
    pgsql/src/backend/executor:
        functions.c (r1.117 -> r1.118)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/functions.c.diff?r1=1.117&r2=1.118)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Tweak the API for per-datatype typmodin functions so that they
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Marginal hacking to improve the speed of COPY OUT.