On Wed, 2003-10-08 at 11:41, Zitan Broth wrote: > Greetings All, > > Running pg 7.3.4 and was reading: > http://archives.postgresql.org/pgsql-interfaces/2003-09/msg00018.php . Basically > want to assign values to an array and then a 2d array. > > However I can't get this to run in properly I get a syntax error (at > or near "[") with function listed below. > > Any suggestions are greatly appreciated :-) >
Your function does not have a return statement. -- Oliver Elphick [EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "Let no man say when he is tempted, I am tempted of God; for God cannot be tempted with evil, neither tempteth he any man; But every man is tempted, when he is drawn away of his own lust, and enticed." James 1:13,14 ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])