Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:> - when getting table info, also call pg_get_viewdef (which returns 'not a> view' for non-view relations).
Huh? Just use the relkind to detect views.
regards, tom lane