pgsql: Suppress volatile-related warning seen in some compilers.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Suppress volatile-related warning seen in some compilers.
Дата
Msg-id E1SsjGX-0000xp-Sa@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Suppress volatile-related warning seen in some compilers.

Antique versions of gcc complain about vars that are initialized outside
PG_TRY and then modified within it.  Rather than marking the var volatile,
expend one more line of code.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1f115d98b984c80e635392aed10cc6185d1f8f4b

Modified Files
--------------
src/pl/plpgsql/src/pl_handler.c |    5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Account for SRFs in targetlists in planner rowcount estimates.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Use --nosync during make check's initdb call.