Search Postgresql Archives

Re: Automatic truncation of character values & casting to the type of a column type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Justin Bailey <jgbailey@xxxxxxxxx> 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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux