Justin Bailey <jgbai...@gmail.com> writes: > I have tried using the PL/PGSQL > feature where types can be "copied" in a declaration:
> DECLARE > myVal Short.shortCol%TYPE; > But I can still put values which are too long into that variable, so > it doesn't help me. Really? Works for me, in everything back to 7.3. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general