leucos/sequel — comment on commit a8c545d00bfd9571c2dfcac0724efe72dd5a5e81
File:  line 0
By jeremyevans:

This doesn't work. The only reason we are using dba_tab_cols is it contains default values (as indicated by the comment). all_tables doesn't appear to contain the default information, so what's the point of using it? You might as well just do `defaults = {}`.

If this is causing problems due to permission issues, maybe we just wrap the code in a begin/rescue DatabaseError. That way, it doesn't fail, but you don't have default information if you don't have access to the table. Does that make sense?