projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c72ec6
)
Remove now-unnecessary cast.
author
Robert Haas
<rhaas@postgresql.org>
Thu, 3 May 2018 00:26:02 +0000
(20:26 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Thu, 3 May 2018 00:27:05 +0000
(20:27 -0400)
Etsuro Fujita
Discussion: http://postgr.es/m/
5AE99BA7
.
9060001
@lab.ntt.co.jp
contrib/postgres_fdw/postgres_fdw.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/postgres_fdw/postgres_fdw.c
b/contrib/postgres_fdw/postgres_fdw.c
index 1b811cccfca5afe77f131a2816ae8f9bf0daab66..78b0f43ca8376bb6d4435732cb83a7d7b2a718dd 100644
(file)
--- a/
contrib/postgres_fdw/postgres_fdw.c
+++ b/
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)