]> granicus.if.org Git - postgresql/commit
Avoid coercing a whole-row variable that is already coerced.
authorRobert Haas <rhaas@postgresql.org>
Thu, 12 Oct 2017 21:10:48 +0000 (17:10 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 12 Oct 2017 21:10:48 +0000 (17:10 -0400)
commit1c497fa72df7593d8976653538da3d0ab033207f
treed5d0feffb020b3490787921c48cb2c24daa687c1
parent60f7c0abef0327648c02795312d1679c66586fbb
Avoid coercing a whole-row variable that is already coerced.

Marginal efficiency and beautification hack.  I'm not sure whether
this case ever arises currently, but the pending patch for update
tuple routing will cause it to arise.

Amit Khandekar

Discussion: http://postgr.es/m/CAJ3gD9cazfppe7-wwUbabPcQ4_0SubkiPFD1+0r5_DkVNWo5yg@mail.gmail.com
src/backend/rewrite/rewriteManip.c