aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-07-16 14:42:37 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-07-16 14:42:37 -0400
commit608cc0c413d8bafc853065f80c3b05f84493032a (patch)
treee46521c5a3b7c2210140bdab9582867a97c9819f /src/backend/executor/nodeModifyTable.c
parent37276017fba88b7c7557395e2fcdaa4a61ba49ac (diff)
downloadpostgresql-608cc0c413d8bafc853065f80c3b05f84493032a.tar.gz
postgresql-608cc0c413d8bafc853065f80c3b05f84493032a.zip
Fix crash in close_ps() for NaN input coordinates.
The Assert() here seems unreasonably optimistic. Andreas Seltenreich found that it could fail with NaNs in the input geometries, and it seems likely to me that it might fail in corner cases due to roundoff error, even for ordinary input values. As a band-aid, make the function return SQL NULL instead of crashing. Report: <87d1md1xji.fsf@credativ.de>
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions