Remove now-unnecessary cast.

Etsuro Fujita

Discussion: http://postgr.es/m/5AE99BA7.9060001@lab.ntt.co.jp
This commit is contained in:
Robert Haas 2018-05-02 20:26:02 -04:00
parent 1c72ec6f49
commit a365f52d58
1 changed files with 1 additions and 1 deletions

View File

@ -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)