pgsql: Don't pass oidvector by value.

Поиск
Список
Период
Сортировка
От Noah Misch
Тема pgsql: Don't pass oidvector by value.
Дата
Msg-id E1Umuui-0007ki-OX@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Don't pass oidvector by value.

Since the structure ends with a flexible array, doing so truncates any
vector having more than one element.  New in 9.3, so no back-patch.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/813895e4acfa646c6c0405a0a8c5d05637f42865

Modified Files
--------------
src/backend/commands/alter.c        |    4 ++--
src/backend/commands/functioncmds.c |    6 +++---
src/include/commands/defrem.h       |    2 +-
3 files changed, 6 insertions(+), 6 deletions(-)


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

Предыдущее
От: Noah Misch
Дата:
Сообщение: pgsql: Avoid reading below the start of a stack variable in tokenize_fi
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Only install a portal's ResourceOwner if it actually has one.