Hrm, works directly from psql here:
foo=> CREATE TABLE fum ( num bigint );
CREATE TABLE
foo=> INSERT INTO fum (num) VALUES (536870912000);
INSERT 0 1
foo=> SELECT * FROM fum;
num
--------------
536870912000
(1 row)
Are you trying this from the Rails app or from script/console? If so,
have you not restarted the app, or console, and does the behavior
change if you do? That'd be handy to know.
__armando
> --
>
> You received this message because you are subscribed to the Google Groups
> "TechValley Ruby Brigade" group.
> To post to this group, send email to
techva...@googlegroups.com.
> To unsubscribe from this group, send email to
>
techvalleyrb...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/techvalleyrb?hl=en.
>