Remove now-unnecessary cast.

Etsuro Fujita

Discussion: http://postgr.es/m/5AE99BA7.9060001@lab.ntt.co.jp
pull/32/head
Robert Haas 8 years ago
parent 1c72ec6f49
commit a365f52d58
  1. 2
      contrib/postgres_fdw/postgres_fdw.c

@ -2007,7 +2007,7 @@ postgresBeginForeignInsert(ModifyTableState *mtstate,
/* Check if we add the ON CONFLICT clause to the remote query. */
if (plan)
{
OnConflictAction onConflictAction = ((ModifyTable *) plan)->onConflictAction;
OnConflictAction onConflictAction = plan->onConflictAction;
/* We only support DO NOTHING without an inference specification. */
if (onConflictAction == ONCONFLICT_NOTHING)

Loading…
Cancel
Save