FR 819 then FR 1974 at Dublin
Edinburgh → Dublin → Poznan
Timetable, Dublin time
16:55FR 819 from Edinburgh at the gate
08:50FR 1974 to Poznan leaves the gate
15 h 55 apart on the timetable, overnight
FR 1974 leaves 15 h 55 after FR 819 arrives on the timetable: more than half a day, so not a connection we count.