postgresql/src/backend
Tom Lane ba61a04bc7 Avoid core dump for empty prepared statement in an aborted transaction.
Brown-paper-bag bug in commit ab1f0c822: the old code here coped with
null CachedPlanSource.raw_parse_tree, the new code not so much.
Per report from Dave Cramer.

No regression test, because our core testing infrastructure doesn't
provide any easy way to exercise this path.  Fortunately, the JDBC
crew test it regularly.

Discussion: https://postgr.es/m/CADK3HH+Ug3xCysKqw_dZOnaNnytZ1Rh5yP05hjO-e4NoyRxVvA@mail.gmail.com
2017-01-19 19:52:13 -05:00
..
access Fix race condition in reading commit timestamps 2017-01-19 18:24:17 -03:00
bootstrap Remove dead code in bootstrap 2017-01-17 16:54:40 -03:00
catalog Remove obsoleted code relating to targetlist SRF evaluation. 2017-01-19 14:40:41 -08:00
commands Remove obsoleted code relating to targetlist SRF evaluation. 2017-01-19 14:40:41 -08:00
executor Remove obsoleted code relating to targetlist SRF evaluation. 2017-01-19 14:40:41 -08:00
foreign Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
lib Fix overflow check in StringInfo; add missing casts 2017-01-10 11:41:13 -03:00
libpq Rename C symbols for backend lo_ functions 2017-01-17 12:35:30 -05:00
main Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
nodes Move targetlist SRF handling from expression evaluation to new executor node. 2017-01-18 13:40:27 -08:00
optimizer Fix Assert failure induced by commit 215b43cdc. 2017-01-19 18:20:58 -05:00
parser Make messages mentioning type names more uniform 2017-01-18 16:08:20 -03:00
po Translation updates 2016-08-08 11:08:00 -04:00
port Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
postmaster Re-allow SSL passphrase prompt at server start, but not thereafter. 2017-01-04 12:44:03 -05:00
regex Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
replication Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
rewrite Change representation of statement lists, and add statement location info. 2017-01-14 16:02:35 -05:00
snowball Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
storage Fix typo 2017-01-17 16:49:20 -03:00
tcop Avoid core dump for empty prepared statement in an aborted transaction. 2017-01-19 19:52:13 -05:00
tsearch Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
utils Remove obsoleted code relating to targetlist SRF evaluation. 2017-01-19 14:40:41 -08:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00