[jOOQ/jOOQ#13358] Correct PRO code removal

This commit is contained in:
Lukas Eder 2022-07-06 11:47:39 +02:00
parent bc962fc051
commit 019b6975c1

View File

@ -349,7 +349,7 @@ implements
// [#7552] Dialects supporting both MERGE and ON CONFLICT should
// generate MERGE to emulate MySQL's ON DUPLICATE KEY UPDATE
// if there are multiple known unique constraints.
if (ctx.dialect().supports(POSTGRES_15)
if (ctx.dialect().supports(POSTGRES)
&& onConstraint == null
&& onConflict == null
&& returning.isEmpty()