Suresh Kumar R <suresh.arsena...@gmail.com> writes: > When I query that table I need the pg_typeof(column) as record[] instead of > composite_type[].
Why? record[] is considered a pseudotype (polymorphic type), which is why casting to it doesn't do anything. regards, tom lane