Track the tail of the SQLWarning chain so we can quickly add a new element to it instead of having to walk the entire chain from the head.  This is important for the performance of handling plpgsql functions which do a ton of RAISE NOTICES which get translated into warnings.
Track the tail of the SQLWarning chain so we can quickly add a new
element to it instead of having to walk the entire chain from the
head.  This is important for the performance of handling plpgsql
functions which do a ton of RAISE NOTICES which get translated into
warnings.

Per example from Altaf Malik.

element-doo/postgresql-jdbc,element-doo/postgresql-jdbc