Check for partitioned table correctly.
authorPavan Deolasee <pavan.deolasee@gmail.com>
Fri, 4 Aug 2017 11:00:37 +0000 (16:30 +0530)
committerPavan Deolasee <pavan.deolasee@gmail.com>
Fri, 4 Aug 2017 11:00:37 +0000 (16:30 +0530)
commita32aeae041f4a8d8231806570eea17e46aaa889e
tree8268f9ce9f04656a6abfc5ccd57b0bf9ece64d50
parentbedf71afd281a380cae25ed2728310ca625dbbd8
Check for partitioned table correctly.

While checking where to forward DROP TABLE command, we were not checking for
partitioned table correctly. That resuled in incorrectly sending DROP TABLE to
remote coordinator for temporary partitioned tables.
src/backend/tcop/utility.c