Don't pass oidvector by value.
Noah Misch <noah@leadboat.com>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/alter.c | modified | +2 −2 |
| src/backend/commands/functioncmds.c | modified | +3 −3 |
| src/include/commands/defrem.h | modified | +1 −1 |