postgresql/src
Tom Lane 8355897ff2 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
..
backend Mark read/write expanded values as read-only in ValuesNext(), too. 2016-06-03 18:07:14 -04:00
bin Suppress -Wunused-result warnings about write(), again. 2016-06-03 11:29:20 -04:00
common pgindent run for 9.5 2015-05-23 21:35:49 -04:00
include Mark read/write expanded values as read-only in ExecProject(). 2016-06-03 15:14:35 -04:00
interfaces Stamp 9.5.3. 2016-05-09 16:50:23 -04:00
makefiles Link $(WIN32RES) into single-file modules only when PGFILEDESC is set. 2015-08-05 20:45:21 -04:00
pl Translation updates 2016-05-09 10:05:46 -04:00
port Stamp 9.5.3. 2016-05-09 16:50:23 -04:00
template AIX: Test the -qlonglong option before use. 2015-07-17 03:01:29 -04:00
test Mark read/write expanded values as read-only in ValuesNext(), too. 2016-06-03 18:07:14 -04:00
timezone Update time zone data files to tzdata release 2016d. 2016-05-05 20:09:10 -04:00
tools Support building with Visual Studio 2015 2016-04-29 08:06:25 -04:00
tutorial Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Back-patch fixes to make TAP tests work on Windows. 2015-11-17 14:10:24 -05:00
Makefile.shlib AIX: Link TRANSFORM modules with their dependencies. 2015-07-15 21:00:30 -04:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00