Subject: dynamic loaded function that takes array as argument

From: [email-masked] (Ke Qiu)
Date: Mon, 19 Jul 93 16:18:59 EDT

Hi,
 
 The "overpaid" function in demo takes a TUPLE as an argument. How can I write
 and define a C funtion that take a set of TUPLE as arguments, or generally
 take arrays as argumets.
 
 The following is my failed definition:

 Welcome to the C POSTGRES terminal monitor
 monitor \i
 mkarray.pq
 
 Query sent to backend is 
 "define function gMkArrayTest (      language = "c", returntype = int4)
 arg is (char16[])     as "/usr/users/qiu/grass/funs/gmkarraystr.o" "
 
 WARN:Jul 19 12:18:49:parser: syntax error at or near "["
 
 Query sent to backend is "define function gMkArrayStr (      language = "c",
                          returntype = char16[])      
 as "/usr/users/qiu/grass/funs/gmkarraystr.o" "
 
 WARN:Jul 19 12:18:49:parser: syntax error at or near "["

 Thanks in advance.
 
 ----

 Ke Qiu
 Computer Science Dept.
 Worcester Polytechnic Institute
 
 [email-masked]

--