Richard Huxton <[email protected]> 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
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match