mirror of
https://github.com/postgres/postgres.git
synced 2025-06-03 00:02:26 -04:00
Remove now-unnecessary cast.
Etsuro Fujita Discussion: http://postgr.es/m/5AE99BA7.9060001@lab.ntt.co.jp
This commit is contained in:
parent
1c72ec6f49
commit
a365f52d58
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user