pgsql: Don't pass oidvector by value.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't pass oidvector by value.
Date: 2013-06-12 23:57:16
Message-ID: E1Umuui-0007ki-OX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-06-13 17:13:15 pgsql: Only install a portal's ResourceOwner if it actually has one.
Previous Message Tom Lane 2013-06-12 21:53:53 pgsql: Improve updatability checking for views and foreign tables.