Thread: pgsql: Don't pass oidvector by value.

pgsql: Don't pass oidvector by value.

From
Noah Misch
Date:
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(-)