mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Remove now-unnecessary cast.
Etsuro Fujita Discussion: http://postgr.es/m/5AE99BA7.9060001@lab.ntt.co.jp
This commit is contained in:
@ -2007,7 +2007,7 @@ postgresBeginForeignInsert(ModifyTableState *mtstate,
|
|||||||
/* Check if we add the ON CONFLICT clause to the remote query. */
|
/* Check if we add the ON CONFLICT clause to the remote query. */
|
||||||
if (plan)
|
if (plan)
|
||||||
{
|
{
|
||||||
OnConflictAction onConflictAction = ((ModifyTable *) plan)->onConflictAction;
|
OnConflictAction onConflictAction = plan->onConflictAction;
|
||||||
|
|
||||||
/* We only support DO NOTHING without an inference specification. */
|
/* We only support DO NOTHING without an inference specification. */
|
||||||
if (onConflictAction == ONCONFLICT_NOTHING)
|
if (onConflictAction == ONCONFLICT_NOTHING)
|
||||||
|
Reference in New Issue
Block a user