Prevent segfault in expand_tuple with no missing values
Andrew Dunstan <andrew@dunslane.net>
Prevent segfault in expand_tuple with no missing values Commit 16828d5c forgot to check that it had a set of missing values before trying to retrieve a value from it. An additional query to add coverage for this code is added to the regression test. Per bug report from Andreas Seltenreich.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/heaptuple.c | modified | +1 −1 |
| src/test/regress/expected/fast_default.out | modified | +35 −0 |
| src/test/regress/sql/fast_default.sql | modified | +14 −0 |