List Info

Thread: Wild SQL -- public/500.html -- postgres-pr




Wild SQL -- public/500.html -- postgres-pr
user name
2006-04-29 20:16:38
Every page of my DEPOT on Postgresql rails app now gets an error from postgres-pr about some wild left-join SQL that has nothing to do with my tables:
 
  SQL (0.000000)  ; NameError: undefined local variable or method `errors' for #<PostgresPR::Connection:0x3b200c0>: SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
 FROM pg_attribute a LEFT JOIN pg_attrdef d
 ON a.attrelid = d.adrelid AND a.attnum = d.adnum
&nbsp;WHERE a.attrelid = 'line_items'::regclass
 AND a.attnum > 0 AND NOT a.attisdropped
 ;ORDER BY a.attnum
 
Any idea where the wild sql comes from ?  If I stop everything and swap out the database.yml so it points to the msysql database, and restart, it works fine as before.
Win xpsp2, ruby 1.8.4, rails 1.1.2, postgres-pr (0.4.0)
 
 
 
 
 
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )