Bryn Llewellyn <b...@yugabyte.com> writes:
>     select (17, 42)::s.t2 into r2;
> [ doesn't work ]

This would work as

      select 17, 42 into r2;

In general, SELECT INTO with a composite target expects to see
a source column per target field.  If you want to assign a
composite value to the whole target, don't use SELECT INTO;
use an assignment statement.

                        regards, tom lane


Reply via email to