我想在pgAdmin中为postgis编写一个基于postgresql的代码。它定义了一个三维几何阵列.DECLAREBEGIN for j IN 1..9 LOOP G[i][j][k] := [value that I want]; END LOOP;但它返回了以下错误:
"array subscript out of range&
我声明了两种类型的数组: typeA is array(0 to 15) of std_logic_vector(15 downto 0);X2, X3 : typeB; 我想将X1的前8个向量赋值给X2,其他的赋值给X2: X2 <= X1(0 to 7);X3 <= X1(8 to 15); 但是我得到了一个错误,因为赋值的右边和左边不一样,但