We study the superconductivity in 2D fermionic systems near antiferromagnet
ic instability, assuming that the pairing is mediated by spin fluctuations.
This pairing involves fully incoherent fermions and diffusive spin excitat
ions. We show that the competition between fermionic incoherence and strong
pairing interaction yields the pairing instability temperature T-ins which
increases and saturates as the magnetic correlation length xi --> infinity
. We ague that in this quantum-critical regime the pairing problem is quali
tatively different from the BCS one.