pgsql: Don't pass oidvector by value. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Don't pass oidvector by value.
Date
Msg-id E1Umuui-0007ki-OX@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: Avoid reading below the start of a stack variable in tokenize_fi
Next
From: Tom Lane
Date:
Subject: pgsql: Only install a portal's ResourceOwner if it actually has one.