[SQL] unsubscribe

2005-08-09 Thread Timothy Smith
Timothy Smith wrote: i have the following function in plpgsql giving stynax errors all over the place. i have doen createlang on the db, as far as i can see i'm right. is there anything obviously wrong? one thing to note is i followed this example http://www.zigo.dhs.org/postgresql

[SQL] postgresql 8.01, plpgsql

2005-03-14 Thread Timothy Smith
i have the following function in plpgsql giving stynax errors all over the place. i have doen createlang on the db, as far as i can see i'm right. is there anything obviously wrong? one thing to note is i followed this example http://www.zigo.dhs.org/postgresql/#insert_or_update and it gives

Re: [SQL] postgresql 8.01, plpgsql

2005-03-14 Thread Timothy Smith
Michael Fuhr wrote: On Tue, Mar 15, 2005 at 11:35:13AM +1000, Timothy Smith wrote: i have the following function in plpgsql giving stynax errors all over the place. When I load the function you posted I get this: test= \i foo.sql psql:foo.sql:87: ERROR: syntax error at or near END

[SQL] re postgresql 8.01 plpgsql

2005-03-14 Thread Timothy Smith
problem sovled. i was still in psql from 7.4, i only upgraded this morning and left it on there. it was the source of all my grief. ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail