@@ -565,9 +565,11 @@ ERROR: there is a record in the variable "r1" with same key
565565SELECT pgv_insert('vars3', 'r1', row(1, 'str1', 'str2'));
566566ERROR: new record structure have 3 attributes, but variable "r1" structure have 2.
567567SELECT pgv_insert('vars3', 'r1', row(1, 1));
568- ERROR: new record attribute type for attribute number 2 differs from variable "r1" structure. You may need explicit type casts.
568+ ERROR: new record attribute type for attribute number 2 differs from variable "r1" structure.
569+ HINT: You may need explicit type casts.
569570SELECT pgv_insert('vars3', 'r1', row('str1', 'str1'));
570- ERROR: new record attribute type for attribute number 1 differs from variable "r1" structure. You may need explicit type casts.
571+ ERROR: new record attribute type for attribute number 1 differs from variable "r1" structure.
572+ HINT: You may need explicit type casts.
571573SELECT pgv_select('vars3', 'r1', ARRAY[[1,2]]); -- fail
572574ERROR: searching for elements in multidimensional arrays is not supported
573575-- Test variables caching
@@ -959,7 +961,8 @@ SELECT pgv_insert('vars', 'r2', row(1, 'str1'));
959961(1 row)
960962
961963SELECT pgv_insert('vars', 'r2', foo) FROM foo;
962- ERROR: new record attribute type for attribute number 2 differs from variable "r2" structure. You may need explicit type casts.
964+ ERROR: new record attribute type for attribute number 2 differs from variable "r2" structure.
965+ HINT: You may need explicit type casts.
963966SELECT pgv_select('vars', 'r2');
964967 pgv_select
965968------------