Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a365f52

Browse files
committed
Remove now-unnecessary cast.
Etsuro Fujita Discussion: http://postgr.es/m/5AE99BA7.9060001@lab.ntt.co.jp
1 parent 1c72ec6 commit a365f52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/postgres_fdw/postgres_fdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2007,7 +2007,7 @@ postgresBeginForeignInsert(ModifyTableState *mtstate,
20072007
/* Check if we add the ON CONFLICT clause to the remote query. */
20082008
if (plan)
20092009
{
2010-
OnConflictAction onConflictAction = ((ModifyTable *) plan)->onConflictAction;
2010+
OnConflictAction onConflictAction = plan->onConflictAction;
20112011

20122012
/* We only support DO NOTHING without an inference specification. */
20132013
if (onConflictAction == ONCONFLICT_NOTHING)

0 commit comments

Comments
 (0)