Michael Glaesemann <grzm@xxxxxxxxxxxxx> writes: > On May 9, 2005, at 18:00, Zlatko Matic wrote: >> This is a newbie question: what is the difference between using = and >> := in plpgsql function ? > In pl/pgsql, > := is assignment > = is a logical comparison for equality It looks like the code will in fact allow you to spell an assignment statement either way ... but I recommend following Michael's advice for clarity. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq