Re: [RDBO] math::bigint pg

2007-07-09 Thread Jonathan Vanasco

On Jul 9, 2007, at 10:09 AM, John Siracusa wrote:

 I added a test for this in SVN and can't reproduce it.  My column  
 defs:

here's my testcase, reproduced on 3 machines (all running current  
rose::db::object , not svn )

perhaps I'm setting something up wrong...

http://dev.2xlp.com/svn/scratchpad/rosedb/issue_mathbigint/trunk/

svn co http://dev.2xlp.com/svn/scratchpad/rosedb/issue_mathbigint/ 
trunk/


the db info is in
http://dev.2xlp.com/svn/scratchpad/rosedb/issue_mathbigint/trunk/ 
MyApp/RoseDB.pm

the object has a $obj-__DUMP__(); convenience method, which will  
print the current state of the obj to STDERR.  comes up as a 0 every  
time.  looking at the pg table , it inserts a 0 as well, not an undef.

i must be doing something blatantly wrong here -- and someone will  
notice it just looking at the class setup.  i hope so.




// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
|   CEO/Founder SyndiClick Networks
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
| Founder/CTO/CVO
|  FindMeOn.com - The cure for Multiple Web Personality Disorder
|  Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
|  RoadSound.com - Tools For Bands, Stuff For Fans
|  Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object


[RDBO] math::bigint pg

2007-07-08 Thread Jonathan Vanasco
I'm trying to pass a null value in for a bigint column.

pg keeps complaining because its getting a 0.  doing a data::dumper,  
I'm seeing the column with
  value= [0]
  _a = undef
  _p= undef
  sign= '+'

tailing the pg log, rose sends a 0
I'm explicitly setting this col to undef, and it is not a 'not_null' col

suggestions?

- Jonathan Vanasco
- findmeon.com / RoadSound.com

Sent from my iPhone

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object