Richard Huxton <dev(at)archonet(dot)com> writes:
> This *will* break if the target table (1st param) is in a different schema than
> public, or if you have non-default sequence names.
Including if you've renamed a serial column since creating it, or if your
serial column has an extremely long name.
In practice it works well enough though.
--
greg