aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-06-14 08:55:50 -0400
committerRobert Haas <rhaas@postgresql.org>2016-06-14 09:00:12 -0400
commit332fdbef20b5b5f2588447793dbcc3bb9b88eb51 (patch)
treed8a4b1e1ae233b367965e77d3f6edb4952cf187c /contrib/postgres_fdw/postgres_fdw.c
parent783cb6e48b29a34b2cefc401a72d4cc86fa6b2a6 (diff)
downloadpostgresql-332fdbef20b5b5f2588447793dbcc3bb9b88eb51.tar.gz
postgresql-332fdbef20b5b5f2588447793dbcc3bb9b88eb51.zip
postgres_fdw: Promote an Assert() to elog().
Andreas Seltenreich reports that it is possible for a PlaceHolderVar to creep into this tlist, and I fear that even after that's fixed we might have other, similar bugs in this area either now or in the future. There's a lot of action-at-a-distance here, because the validity of this assertion depends on core planner behavior; so, let's use elog() to make sure we catch this even in non-assert builds, rather than just crashing.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions