struct_tuple_cast.sql 208 B

123456789
  1. /* postgres can not */
  2. /* dq can not */
  3. /* dqfile can not */
  4. $s = <|foo:1p|>;
  5. $t = (1p,);
  6. select cast($s as Struct<a:PgText,b:PgInt4,c:_PgText,foo:PgInt4>);
  7. select cast($t as Tuple<PgInt4,PgText,_PgText>);