postgresql/src/backend
Tom Lane 9eaf5be506 Mark read/write expanded values as read-only in ValuesNext(), too.
Further thought about bug #14174 motivated me to try the case of a
R/W datum being returned from a VALUES list, and sure enough it was
broken.  Fix that.

Also add a regression test case exercising the same scenario for
FunctionScan.  That's not broken right now, because the function's
result will get shoved into a tuplestore between generation and use;
but it could easily become broken whenever we get around to optimizing
FunctionScan better.

There don't seem to be any other places where we put the result of
expression evaluation into a virtual tuple slot that could then be
the source for Vars of further expression evaluation, so I think
this is the end of this bug.
2016-06-03 18:07:14 -04:00
..
access Fix various common mispellings. 2016-06-03 16:08:45 +01:00
bootstrap Revert CREATE INDEX ... INCLUDING ... 2016-04-08 21:52:13 +03:00
catalog Fix various common mispellings. 2016-06-03 16:08:45 +01:00
commands Fix comment to be more accurate. 2016-06-03 11:56:57 -04:00
executor Mark read/write expanded values as read-only in ValuesNext(), too. 2016-06-03 18:07:14 -04:00
foreign Fix whitespace 2016-04-11 14:44:51 -04:00
lib Remove mergeHyperLogLog. 2016-04-27 10:55:32 -04:00
libpq Add authentication parameters compat_realm and upn_usename for SSPI 2016-04-08 20:28:38 +02:00
main Fix various common mispellings. 2016-06-03 16:08:45 +01:00
nodes Fix various common mispellings. 2016-06-03 16:08:45 +01:00
optimizer Remove bogus code to apply PathTargets to partial paths. 2016-06-03 14:27:33 -04:00
parser Remove option to write USING before opclass name in CREATE INDEX. 2016-05-25 19:11:00 -04:00
po Translation updates 2016-05-09 10:04:41 -04:00
port Support building with Visual Studio 2015 2016-04-29 08:09:07 -04:00
postmaster Avoid useless closely-spaced writes of statistics files. 2016-05-31 15:55:15 -04:00
regex Suppress compiler warnings about useless comparison of unsigned to zero. 2016-02-15 17:12:16 -05:00
replication Fix various common mispellings. 2016-06-03 16:08:45 +01:00
rewrite Improve error message for rejecting RETURNING clauses with dropped columns. 2016-02-29 19:11:38 -05:00
snowball Update copyright for 2016 2016-01-02 13:33:40 -05:00
storage Fix various common mispellings. 2016-06-03 16:08:45 +01:00
tcop Be more predictable about reporting "lock timeout" vs "statement timeout". 2016-05-27 10:40:20 -04:00
tsearch Fix various common mispellings. 2016-06-03 16:08:45 +01:00
utils Add new snapshot fields to serialize/deserialize functions. 2016-06-03 11:13:28 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
Makefile Support multiple synchronous standby servers. 2016-04-06 17:18:25 +09:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00