ok, I think I got it... here's my "patch":
diff --git a/lib/sequel_core/adapters/shared/postgres.rb b/lib/
sequel_core/adapters/shared/postgres.rb
index 00166c1..307be77 100644
--- a/lib/sequel_core/adapters/shared/postgres.rb
+++ b/lib/sequel_core/adapters/shared/postgres.rb
@@ -318,7 +318,7 @@ module Sequel
SQL::Function.new(:COALESCE, {:pg_attribute__attnum =>
SQL::Function.new(:ANY, :pg_index__indkey)}.sql_expr,
false).as(:primary_key)).
from(:pg_class).
join(:pg_attribute, :attrelid=>:oid).
- join(:pg_type, :oid=>:atttypid).
+ join(:pg_type, ({:oid=>:atttypid} & ~{:oid => [10635,
10637, 10638]})).
left_outer_join(:pg_attrdef, :adrelid=>:pg_class__oid,
:adnum=>:pg_attribute__attnum).
left_outer_join(:pg_index, :indrelid=>:pg_class__oid, :indisprimary=>true).
filter(:pg_attribute__attisdropped=>false).
basically, add some oids that should not be added as columns... I
think that should do it.
regards,
rolando./
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---